Class: TropoRest::Client
- Inherits:
-
Object
- Object
- TropoRest::Client
- Includes:
- Address, Application, Exchange, Session, Signal, Connection, Request
- Defined in:
- lib/tropo_rest/client.rb,
lib/tropo_rest/client/signal.rb,
lib/tropo_rest/client/address.rb,
lib/tropo_rest/client/session.rb,
lib/tropo_rest/client/exchange.rb,
lib/tropo_rest/client/application.rb
Defined Under Namespace
Modules: Address, Application, Exchange, Session, Signal
Constant Summary
Constants included from Signal
Constants included from Session
Constants included from Address
Address::PLURAL_PATH, Address::RESOURCE, Address::SINGULAR_PATH
Constants included from Exchange
Exchange::PLURAL_PATH, Exchange::RESOURCE
Constants included from Application
Application::PLURAL_PATH, Application::RESOURCE, Application::SINGULAR_PATH
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Signal
Methods included from Session
Methods included from Address
#address, #addresses, #create_address, #delete_address
Methods included from Exchange
Methods included from Application
#application, #applications, #create_application, #delete_application, #update_application
Methods included from Request
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
20 21 22 23 24 25 |
# File 'lib/tropo_rest/client.rb', line 20 def initialize(={}) = TropoRest..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |