Class: Cashstar::API
- Inherits:
-
Object
- Object
- Cashstar::API
- Includes:
- Authentication, Connection, Request
- Defined in:
- lib/cashstar/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
17 18 19 20 21 22 |
# File 'lib/cashstar/api.rb', line 17 def initialize(={}) = Cashstar..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |