Sha256: 695123d905a86dbd27a055e845587b6cbde7ed455caefe95ba0b312e595f2829

Contents?: true

Size: 462 Bytes

Versions: 9

Compression:

Stored size: 462 Bytes

Contents

module Luno
  module Markets
    def market_top_100_bids(pair: 'XBTZAR')
      path = "orderbook_top?pair=#{pair}"
      unauthorised_and_send(http_method: :get, path: path)
    end

    def list_ticker_for_pair(pair:)
      path = 'ticker'
      authorise_and_send(http_method: :get, path: path, params: { pair: pair })
    end

    def list_tickets_for_all_pairs
      path = 'tickers'
      authorise_and_send(http_method: :get, path: path)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
luno-0.2.15 lib/luno/markets.rb
luno-0.2.14 lib/luno/markets.rb
luno-0.2.13 lib/luno/markets.rb
luno-0.2.12 lib/luno/markets.rb
luno-0.2.11 lib/luno/markets.rb
luno-0.2.10 lib/luno/markets.rb
luno-0.2.9 lib/luno/markets.rb
luno-0.2.8 lib/luno/markets.rb
luno-0.2.7 lib/luno/markets.rb