Class: Keoken::Backend::Base
- Inherits:
-
Object
- Object
- Keoken::Backend::Base
- Defined in:
- lib/keoken/backend/base.rb
Direct Known Subclasses
Keoken::Backend::BitcoinRuby::Transaction, Trezor::Transaction
Instance Attribute Summary collapse
-
#bitprim_transaction ⇒ Object
Returns the value of attribute bitprim_transaction.
-
#inputs ⇒ Object
Returns the value of attribute inputs.
-
#total_inputs_amount ⇒ Object
Returns the value of attribute total_inputs_amount.
Instance Method Summary collapse
-
#initialize ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base
6 7 8 9 |
# File 'lib/keoken/backend/base.rb', line 6 def initialize @inputs = [] @bitprim_transaction = Keoken::Bitprim::Transaction.new end |
Instance Attribute Details
#bitprim_transaction ⇒ Object
Returns the value of attribute bitprim_transaction
4 5 6 |
# File 'lib/keoken/backend/base.rb', line 4 def bitprim_transaction @bitprim_transaction end |
#inputs ⇒ Object
Returns the value of attribute inputs
4 5 6 |
# File 'lib/keoken/backend/base.rb', line 4 def inputs @inputs end |
#total_inputs_amount ⇒ Object
Returns the value of attribute total_inputs_amount
4 5 6 |
# File 'lib/keoken/backend/base.rb', line 4 def total_inputs_amount @total_inputs_amount end |