Sha256: 48f6c7842b1a196ca4ff1ab6b42222111136e05fa77007cd6aeb6d5ac327ec22
Contents?: true
Size: 532 Bytes
Versions: 6
Compression:
Stored size: 532 Bytes
Contents
# frozen_string_literal: true module Mcoin module Market # :nodoc: class Bitstamp < Base ENDPOINT = 'https://www.bitstamp.net/api/v2/ticker/%<type>s%<currency>s/' def to_ticker fetch Data::Ticker.new( :Bitstamp, @type, @currency, last: @data['last'], ask: @data['ask'], bid: @data['bid'], low: @data['low'], high: @data['high'], volume: @data['volume'], timestamp: @data['timestamp'] ) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems