Class: Shirtsio::API
- Inherits:
-
Object
- Object
- Shirtsio::API
- Includes:
- Connection, Request
- Defined in:
- lib/shirtsio/api.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ API
constructor
A new instance of API.
Methods included from Request
Constructor Details
#initialize(options = {}) ⇒ API
Returns a new instance of API.
6 7 8 9 10 11 |
# File 'lib/shirtsio/api.rb', line 6 def initialize( = {}) = Shirtsio..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |