class Gocoin::Accounts

Public Class Methods

new(api) click to toggle source
# File lib/gocoin/api/accounts.rb, line 4
def initialize(api)
  @api = api
end

Public Instance Methods

transactions(account_id, params = {}) click to toggle source
# File lib/gocoin/api/accounts.rb, line 8
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