Class: Howkast::API
- Inherits:
-
Object
- Object
- Howkast::API
- Includes:
- Base
- Defined in:
- lib/howkast/api.rb,
lib/howkast/base.rb
Constant Summary
Constants included from Base
Instance Method Summary collapse
-
#initialize(opts = { }) ⇒ API
constructor
A new instance of API.
Methods included from Base
Constructor Details
#initialize(opts = { }) ⇒ API
Returns a new instance of API.
32 33 34 35 |
# File 'lib/howkast/api.rb', line 32 def initialize opts = { } key = opts[:api_key] configuration.api_key = key if key end |