class Cryptoprocessing::Account

Public Instance Methods

create_address(options = {}) { |data, resp| ... } click to toggle source

Create address

# File lib/cryptoprocessing/models/account.rb, line 6
def create_address(options = {})
  agent.create_address(self['id'], options) do |resp|
    yield(data, resp) if block_given?
  end
end
create_callback(address, options = {}) { |data, resp| ... } click to toggle source
# File lib/cryptoprocessing/models/account.rb, line 33
def create_callback(address, options = {})
  agent.create_callback(self['id'], address, options) do |data, resp|
    yield(data, resp) if block_given?
  end
end
create_transaction(options = {}) { |data, resp| ... } click to toggle source

Create transaction

# File lib/cryptoprocessing/models/account.rb, line 27
def create_transaction(options = {})
  agent.create_transaction(self['id'], options) do |data, resp|
    yield(data, resp) if block_given?
  end
end
transactions(options = {}) { |data, resp| ... } click to toggle source

List of transactions

# File lib/cryptoprocessing/models/account.rb, line 13
def transactions(options = {})
  agent.transactions(self['id'], options) do |data, resp|
    yield(data, resp) if block_given?
  end
end
transactions_by_address(address, options = {}) { |data, resp| ... } click to toggle source

List of transactions by address

# File lib/cryptoprocessing/models/account.rb, line 20
def transactions_by_address(address, options = {})
  agent.transactions_by_address(self['id'], address, options) do |data, resp|
    yield(data, resp) if block_given?
  end
end