Class: Sendgrid::API::Client
- Inherits:
-
Object
- Object
- Sendgrid::API::Client
- Includes:
- 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 Web::Stats
Methods included from Web::Profile
Constructor Details
#initialize(user, key) ⇒ Client
Returns a new instance of Client.
14 15 16 17 |
# File 'lib/sendgrid/api/client.rb', line 14 def initialize(user, key) @user = user @key = key end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
12 13 14 |
# File 'lib/sendgrid/api/client.rb', line 12 def key @key end |
#user ⇒ Object (readonly)
Returns the value of attribute user.
12 13 14 |
# File 'lib/sendgrid/api/client.rb', line 12 def user @user end |