Class: Chain::Transaction::Template

Inherits:
ResponseObject show all
Defined in:
lib/chain/transaction.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ResponseObject

#[], #[]=, #initialize, #to_json

Constructor Details

This class inherits a constructor from Chain::ResponseObject

Instance Attribute Details

#raw_transactionString (readonly)

Returns:

  • (String)


449
# File 'lib/chain/transaction.rb', line 449

attrib :raw_transaction

#signing_instructionsString (readonly)

Returns:

  • (String)


453
# File 'lib/chain/transaction.rb', line 453

attrib :signing_instructions

Instance Method Details

#allow_additional_actionsTemplate

Returns:



456
457
458
459
# File 'lib/chain/transaction.rb', line 456

def allow_additional_actions
  @allow_additional_actions = true
  self
end

#to_hHash

Returns:

  • (Hash)


462
463
464
# File 'lib/chain/transaction.rb', line 462

def to_h
  super.merge(allow_additional_actions: @allow_additional_actions)
end