lib/kentaa/api/clients/newsletter_subscriptions.rb in kentaa-api-0.3.2 vs lib/kentaa/api/clients/newsletter_subscriptions.rb in kentaa-api-0.4.0
- old
+ new
@@ -2,10 +2,13 @@
module Kentaa
module Api
module Clients
class NewsletterSubscriptions < Base
- include Kentaa::Api::Clients::All
+ def all(options = {})
+ newsletter_subscriptions = Kentaa::Api::Resources::NewsletterSubscriptions.new(config, options)
+ newsletter_subscriptions.all
+ end
def list(options = {})
newsletter_subscriptions = Kentaa::Api::Resources::NewsletterSubscriptions.new(config, options)
newsletter_subscriptions.load
end