Module: TropoRest
- Extended by:
- Configuration
- Defined in:
- lib/tropo_rest.rb,
lib/tropo_rest/error.rb,
lib/tropo_rest/utils.rb,
lib/tropo_rest/client.rb,
lib/tropo_rest/request.rb,
lib/tropo_rest/version.rb,
lib/tropo_rest/connection.rb,
lib/tropo_rest/client/signal.rb,
lib/tropo_rest/configuration.rb,
lib/tropo_rest/client/address.rb,
lib/tropo_rest/client/session.rb,
lib/tropo_rest/client/exchange.rb,
lib/tropo_rest/resource/address.rb,
lib/tropo_rest/resource/exchange.rb,
lib/tropo_rest/client/application.rb,
lib/tropo_rest/resource/application.rb
Defined Under Namespace
Modules: Configuration, Connection, Request, Resource Classes: AccessDenied, ArgumentError, BadRequest, Client, Error, InternalServerError, MethodNotAllowed, NotAuthorized, NotFound, ServiceUnavailable, UnsupportedMediaType, Utils
Constant Summary collapse
- VERSION =
"0.1.2"
Constants included from Configuration
Configuration::DEFAULT_ADAPTER, Configuration::DEFAULT_ENDPOINT, Configuration::DEFAULT_PASSWORD, Configuration::DEFAULT_SESSION_ENDPOINT, Configuration::DEFAULT_USERNAME, Configuration::DEFAULT_USER_AGENT, Configuration::VALID_OPTIONS_KEYS
Class Method Summary collapse
-
.client(options = {}) ⇒ TropoRest::Client
Alias for TropoRest::Client.new.
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to TropoRest::Client.
Methods included from Configuration
configure, extended, options, reset
Class Method Details
.client(options = {}) ⇒ TropoRest::Client
Alias for TropoRest::Client.new
23 24 25 |
# File 'lib/tropo_rest.rb', line 23 def self.client(={}) TropoRest::Client.new() end |
.method_missing(method, *args, &block) ⇒ Object
Delegate to TropoRest::Client
28 29 30 31 |
# File 'lib/tropo_rest.rb', line 28 def self.method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end |