Class: Locaweb::Emailmarketing::SenderClient
- Inherits:
-
BaseClient
- Object
- BaseClient
- Locaweb::Emailmarketing::SenderClient
- Defined in:
- lib/locaweb-emailmarketing/clients/sender_client.rb
Instance Method Summary collapse
-
#initialize(http_request_adapter, account_id) ⇒ SenderClient
constructor
A new instance of SenderClient.
- #update(*args) ⇒ Object
Methods inherited from BaseClient
Constructor Details
#initialize(http_request_adapter, account_id) ⇒ SenderClient
Returns a new instance of SenderClient.
4 5 6 7 8 |
# File 'lib/locaweb-emailmarketing/clients/sender_client.rb', line 4 def initialize(http_request_adapter, account_id) super resource_name "senders" required_keys_to_create ({ required: [:email], optional: [] }) end |
Instance Method Details
#update(*args) ⇒ Object
10 11 12 |
# File 'lib/locaweb-emailmarketing/clients/sender_client.rb', line 10 def update(*args) raise(NotImplementedError, "Unavailable action to this resource") end |