Class: Speechmatics::User

Inherits:
API
  • Object
show all
Includes:
Configuration
Defined in:
lib/speechmatics/user.rb

Defined Under Namespace

Classes: Jobs

Constant Summary

Constants included from Configuration

Configuration::DEFAULT_ADAPTER, Configuration::DEFAULT_ENDPOINT, Configuration::DEFAULT_USER_AGENT, Configuration::VALID_OPTIONS_KEYS

Constants included from Connection

Connection::ALLOWED_OPTIONS

Instance Attribute Summary

Attributes inherited from API

#current_options

Instance Method Summary collapse

Methods included from Configuration

#configure, extended, keys, #options, #reset!

Methods inherited from API

#apply_options, #args_to_options, #base_path, #create, #delete, #get, #initialize, #list, #request, #update

Methods included from Connection

#connection, #merge_default_options

Constructor Details

This class inherits a constructor from Speechmatics::API

Instance Method Details

#jobs(params = {}, &block) ⇒ Object



7
8
9
# File 'lib/speechmatics/user.rb', line 7

def jobs(params={}, &block)
  @jobs ||= ApiFactory.api('Speechmatics::User::Jobs', self, params, &block)
end