class Hodlmoon::Client::Base
Public Class Methods
new(limit: nil, coin: nil, currency:)
click to toggle source
# File lib/hodlmoon/client/base.rb, line 6 def initialize(limit: nil, coin: nil, currency:) @limit = limit @coin = coin @currency = currency end
Public Instance Methods
call()
click to toggle source
# File lib/hodlmoon/client/base.rb, line 12 def call HTTParty.get(uri) end
Private Instance Methods
uri()
click to toggle source
# File lib/hodlmoon/client/base.rb, line 18 def uri raise NotImplementedError end