Module: Vmix
- Extended by:
- Configuration
- Defined in:
- lib/vmix.rb,
lib/vmix/api.rb,
lib/vmix/error.rb,
lib/vmix/client.rb,
lib/vmix/configuration.rb
Defined Under Namespace
Modules: Configuration Classes: Api, Client, Error, InvalidMethod
Constant Summary
Constants included from Configuration
Configuration::DEFAULT_API_ENDPOINT, Configuration::DEFAULT_API_PASSWORD, Configuration::DEFAULT_AUTHENTICATION, Configuration::DEFAULT_DOWNLOAD_ENDPOINT, Configuration::DEFAULT_PARTNERID, Configuration::DEFAULT_TOKEN, Configuration::VALID_OPTIONS_KEYS, Configuration::VMIX_METHODS
Class Method Summary collapse
-
.client(options = {}) ⇒ Vmix::Client
Alias for Vmix::Client.new.
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to Vmix::Client.
- .respond_to?(method, include_private = false) ⇒ Boolean
Methods included from Configuration
configure, extended, options, reset
Class Method Details
.client(options = {}) ⇒ Vmix::Client
Alias for Vmix::Client.new
14 15 16 |
# File 'lib/vmix.rb', line 14 def self.client(={}) Vmix.new() end |
.method_missing(method, *args, &block) ⇒ Object
Delegate to Vmix::Client
19 20 21 22 |
# File 'lib/vmix.rb', line 19 def self.method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end |
.respond_to?(method, include_private = false) ⇒ Boolean
24 25 26 |
# File 'lib/vmix.rb', line 24 def self.respond_to?(method, include_private = false) client.respond_to?(method, include_private) || super(method, include_private) end |