Class: OpenAssets::SendBitcoinParam
- Inherits:
-
Object
- Object
- OpenAssets::SendBitcoinParam
- Defined in:
- lib/openassets/send_bitcoin_param.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#to ⇒ Object
Returns the value of attribute to.
Instance Method Summary collapse
-
#initialize(amount, to) ⇒ SendBitcoinParam
constructor
A new instance of SendBitcoinParam.
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
#amount ⇒ Object
Returns the value of attribute amount.
4 5 6 |
# File 'lib/openassets/send_bitcoin_param.rb', line 4 def amount @amount end |
#to ⇒ Object
Returns the value of attribute to.
5 6 7 |
# File 'lib/openassets/send_bitcoin_param.rb', line 5 def to @to end |