Class: OpenAssets::SendBitcoinParam

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(amount, to) ⇒ SendBitcoinParam

Returns a new instance of SendBitcoinParam.



7
8
9
10
# File 'lib/openassets/send_bitcoin_param.rb', line 7

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

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



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

def amount
  @amount
end

#toObject

Returns the value of attribute to.



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

def to
  @to
end