Module: Stagehand
- Defined in:
- lib/stagehand.rb,
lib/stagehand/client.rb,
lib/stagehand/version.rb,
lib/stagehand/client/user.rb,
lib/stagehand/client/oauth.rb
Defined Under Namespace
Modules: Rack Classes: Client, Config, Railtie
Constant Summary collapse
- VERSION =
"0.0.4"
Class Method Summary collapse
- .config ⇒ Object
- .configure {|self.config| ... } ⇒ Object
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to Stagehand::Client.
-
.new(options = {}) ⇒ Object
return Stagehand::Client.
Class Method Details
.configure {|self.config| ... } ⇒ Object
18 19 20 |
# File 'lib/stagehand.rb', line 18 def configure yield self.config end |
.method_missing(method, *args, &block) ⇒ Object
Delegate to Stagehand::Client
28 29 30 31 |
# File 'lib/stagehand.rb', line 28 def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end |