Class: Sendgrid::API::Client
- Inherits:
-
Object
- Object
- Sendgrid::API::Client
- Includes:
- Newsletter::Categories, Newsletter::Emails, Newsletter::Lists, Newsletter::MarketingEmails, Newsletter::Recipients, Newsletter::Schedule, Newsletter::SenderAddresses, Web::Mail, Web::Profile, Web::Stats
- Defined in:
- lib/sendgrid/api/client.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(user, key) ⇒ Client
constructor
A new instance of Client.
Methods included from Newsletter::Schedule
Methods included from Newsletter::Recipients
Methods included from Newsletter::MarketingEmails
Methods included from Newsletter::Categories
Methods included from Newsletter::SenderAddresses
Methods included from Newsletter::Emails
Methods included from Newsletter::Lists
Methods included from Web::Mail
Methods included from Web::Stats
Methods included from Web::Profile
Constructor Details
#initialize(user, key) ⇒ Client
Returns a new instance of Client.
30 31 32 33 |
# File 'lib/sendgrid/api/client.rb', line 30 def initialize(user, key) @user = user @key = key end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
28 29 30 |
# File 'lib/sendgrid/api/client.rb', line 28 def key @key end |
#user ⇒ Object (readonly)
Returns the value of attribute user.
28 29 30 |
# File 'lib/sendgrid/api/client.rb', line 28 def user @user end |