Permalink
Browse files

support for getresponse360 api_url change

  • Loading branch information...
1 parent 05cf468 commit 755d340311b52913077f29633652b89030853e6a @todddickerson committed Aug 1, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/get_response/connection.rb
@@ -4,11 +4,12 @@ module GetResponse
# Simple class that simulates connection to service
class Connection
- API_URI = "http://api2.getresponse.com"
+ #API_URI = "http://api2.getresponse.com"
attr_reader :api_key
- def initialize(api_key)
+ def initialize(api_key, api_uri = "http://api2.getresponse.com")
+ @api_uri = api_uri
@api_key = api_key
end

0 comments on commit 755d340

Please sign in to comment.