Class: Rainmaker::API
- Inherits:
-
Object
- Object
- Rainmaker::API
- Includes:
- Connection, Request
- Defined in:
- lib/rainmaker/api.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ API
constructor
Creates a new API.
Methods included from Request
Constructor Details
#initialize(options = {}) ⇒ API
Creates a new API
11 12 13 14 15 16 |
# File 'lib/rainmaker/api.rb', line 11 def initialize(={}) = Rainmaker..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |