Class: Hodlmoon::Client::Base
- Inherits:
-
Object
- Object
- Hodlmoon::Client::Base
- Defined in:
- lib/hodlmoon/client/base.rb
Direct Known Subclasses
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(limit: nil, coin: nil, currency:) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(limit: nil, coin: nil, currency:) ⇒ Base
Returns a new instance of Base.
6 7 8 9 10 |
# File 'lib/hodlmoon/client/base.rb', line 6 def initialize(limit: nil, coin: nil, currency:) @limit = limit @coin = coin @currency = currency end |
Instance Method Details
#call ⇒ Object
12 13 14 |
# File 'lib/hodlmoon/client/base.rb', line 12 def call HTTParty.get(uri) end |