Class: OpenAssets::SendAssetParam

Inherits:
Object
  • Object
show all
Defined in:
lib/openassets/send_asset_param.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(asset_id, amount, to) ⇒ SendAssetParam

Returns a new instance of SendAssetParam.



8
9
10
11
12
# File 'lib/openassets/send_asset_param.rb', line 8

def initialize(asset_id, amount, to)
  @asset_id = asset_id
  @amount = amount
  @to = to
end

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



5
6
7
# File 'lib/openassets/send_asset_param.rb', line 5

def amount
  @amount
end

#asset_idObject

Returns the value of attribute asset_id.



4
5
6
# File 'lib/openassets/send_asset_param.rb', line 4

def asset_id
  @asset_id
end

#toObject

Returns the value of attribute to.



6
7
8
# File 'lib/openassets/send_asset_param.rb', line 6

def to
  @to
end