Class: Commons::Client
- Inherits:
-
Object
- Object
- Commons::Client
- Includes:
- Content, Connection, Request
- Defined in:
- lib/commons/client.rb,
lib/commons/client/content.rb
Defined Under Namespace
Modules: Content
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Content
Methods included from Request
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
10 11 12 13 14 15 |
# File 'lib/commons/client.rb', line 10 def initialize(={}) = Commons..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |