Skip to content
Browse files

Merge pull request #2 from kyleturman/master

Fixed API Calls
  • Loading branch information...
2 parents 5713663 + 01a4819 commit 085f537b85c9e1662ccc9455346cf88fa3185cd7 @chimpchamp-dustin chimpchamp-dustin committed Apr 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/chimpactions.rb
View
4 lib/chimpactions.rb
@@ -100,7 +100,7 @@ def self.for(klass_name)
# @param [String] A new API key
def self.change_account(new_api_key)
self.mailchimp_api_key = new_api_key
- self.socket = Gibbon::API.new(self.mailchimp_api_key)
+ self.socket = Gibbon.new(self.mailchimp_api_key)
notify_observers self
self.available_lists(true)
end
@@ -128,7 +128,7 @@ def self.setup(config)
self.mailchimp_api_key = config['mailchimp_api_key']
self.merge_map = config['merge_map']
self.mailchimp_ses_key = config['mailchimp_ses_key']
- self.socket = Gibbon::API.new(self.mailchimp_api_key)
+ self.socket = Gibbon.new(self.mailchimp_api_key)
case config['action_store']
when :yml
if !config['actions'].blank?

0 comments on commit 085f537

Please sign in to comment.
Something went wrong with that request. Please try again.