Class: Kentaa::Api::Requests::NewsletterSubscriptions

Inherits:
Base
  • Object
show all
Includes:
All
Defined in:
lib/kentaa/api/requests/newsletter_subscriptions.rb

Instance Attribute Summary

Attributes inherited from Base

#http

Instance Method Summary collapse

Methods included from All

#all

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Kentaa::Api::Requests::Base

Instance Method Details

#list(options = {}) ⇒ Object



7
8
9
10
# File 'lib/kentaa/api/requests/newsletter_subscriptions.rb', line 7

def list(options = {})
  response = http.get("/newsletter-subscriptions", options)
  Kentaa::Api::Responses::NewsletterSubscriptions.new(response)
end