Class: Hodlmoon::Client::RetrievePrice

Inherits:
Base
  • Object
show all
Defined in:
lib/hodlmoon/client/retrieve_price.rb

Class Method Summary collapse

Methods inherited from Base

#call, #initialize

Constructor Details

This class inherits a constructor from Hodlmoon::Client::Base

Class Method Details

.call(coin, currency) ⇒ Object



6
7
8
# File 'lib/hodlmoon/client/retrieve_price.rb', line 6

def self.call(coin, currency)
  new(coin: coin, currency: currency).call
end