Class: Wajub::ListenResource
- Inherits:
-
BaseClient
- Object
- BaseClient
- Wajub::ListenResource
- Defined in:
- lib/wajub/resources.rb
Instance Attribute Summary
Attributes inherited from BaseClient
#api_key, #base_url, #idempotency_key_prefix, #last_request, #transport
Instance Method Summary collapse
Methods inherited from BaseClient
#delete, #get, #initialize, #post, #put, #request
Constructor Details
This class inherits a constructor from Wajub::BaseClient
Instance Method Details
#auth(params, options = nil) ⇒ Object
278 279 280 |
# File 'lib/wajub/resources.rb', line 278 def auth(params, = nil) HttpUtils.pick_resource(post('/listen/auth', params, ), 'auth', 'listen') end |
#config ⇒ Object
274 275 276 |
# File 'lib/wajub/resources.rb', line 274 def config HttpUtils.pick_resource(get('/listen/config'), 'config', 'listen') end |