Code Monkey home page Code Monkey logo

gatling_gun's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gatling_gun's Issues

delete_list on non existing list returns success

SendGrid seems to return both HTTP 200 and an error as data in that case:

#<GatlingGun::Response:0x7fe6e94d68e0
  @data = {
    "error" => "List does not exist"
  },
  @success = true,
  attr_reader :http_response_code = "200"
>

Do we want success to be set to false in that case?

If you wonder, I started looking at this because I thought about adding bang equivalents to each method (like delete_list! would raise an exception unless we have a success).

typo in lib/gatling_gun.rb

def get_newsletter(newsletter)
make_api_call("edit", name: newsletter)
end

should be

def get_newsletter(newsletter)
make_api_call("get", name: newsletter)
end

Unsubscribe tag from the "Unsbscription" app on sedngrid does not seem work

Hi,

I am using the newsletter API want to include a unsbscribe link at the end of my email. FOr doing that you can enable and set up the "Subscription Tracking" app to look for a particular tag in the newsletter text for eg: [UNSUBSCRIBE] and then this tag will be replaced with the unsubscribe link. It works when I create a newsletter from sendgrid.com UI but does not seem to work when I add the tag using the newsletter api.

For eg:
SendGrid.add_newsletter( newsletter_name,
identity: IDENTITY,
subject: newsletter.title,
html: "

#{newsletter.content}

[unsubscribe]" )
Please advice.

Thanks,
HItesh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.