Sha256: a6514626d376c1083c8d2f1bb15321e8fef82191a9d1aff4aa24a50699fe0d1f

Contents?: true

Size: 335 Bytes

Versions: 3

Compression:

Stored size: 335 Bytes

Contents

module Gocoin
  class Accounts

		def initialize(api)
		  @api = api
		end

		def transactions(account_id, params = {})
			@api.client.logger.debug 'Gocoin::Accounts#transactions called.'
			route = "/accounts/#{account_id}/transactions?#{Util.hash_to_url_params(params)}"
			options = {}
			@api.request route, options
		end

	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gocoin-0.1.4 lib/gocoin/api/accounts.rb
gocoin-0.1.3 lib/gocoin/api/accounts.rb
gocoin-0.1.2 lib/gocoin/api/accounts.rb