module MercadoBitcoin::Api::Data::AskBidRefinement

Public Instance Methods

to_model_hash() click to toggle source
# File lib/mercado_bitcoin/api/data/ask_bid_refinement.rb, line 3
def to_model_hash
  Hash[*[:price, :volume].zip(self).flatten]
end