Class: KlickmailApi::Client
- Inherits:
-
Object
- Object
- KlickmailApi::Client
- Defined in:
- lib/klickmail_api/client.rb
Instance Method Summary collapse
- #index_fields ⇒ Object
-
#initialize ⇒ Client
constructor
A new instance of Client.
- #login(username, password) ⇒ Object
Constructor Details
Instance Method Details
#index_fields ⇒ Object
13 14 15 |
# File 'lib/klickmail_api/client.rb', line 13 def index_fields @connector.request('field') end |
#login(username, password) ⇒ Object
9 10 11 |
# File 'lib/klickmail_api/client.rb', line 9 def login(username, password) @connector.login(username, password) end |