lib/kentaa/api/clients/newsletter_subscriptions.rb in kentaa-api-0.4.0 vs lib/kentaa/api/clients/newsletter_subscriptions.rb in kentaa-api-0.5.0

- old
+ new

@@ -13,10 +13,10 @@ newsletter_subscriptions = Kentaa::Api::Resources::NewsletterSubscriptions.new(config, options) newsletter_subscriptions.load end def get(id, options = {}) - newsletter_subscription = Kentaa::Api::Resources::NewsletterSubscription.new(config, options.merge(id: id)) + newsletter_subscription = Kentaa::Api::Resources::NewsletterSubscription.new(config, id: id, options: options) newsletter_subscription.load end end end end