Class: HelloBlock::Transaction
- Inherits:
-
Object
- Object
- HelloBlock::Transaction
- Extended by:
- Query
- Includes:
- APIParameters
- Defined in:
- lib/helloblock/resources/transaction.rb
Constant Summary
Constants included from APIParameters
Constants included from Endpoints
Class Method Summary collapse
Methods included from Query
[], []=, default_query, determine_parent_resource, find, inspect, last, offset, parent_class, query, to_hash, where
Methods included from Endpoints
Class Method Details
.create(raw_tx_hex) ⇒ Object
9 10 11 12 13 |
# File 'lib/helloblock/resources/transaction.rb', line 9 def self.create(raw_tx_hex) api_parameter = API_PARAMETERS[:propagate] query[:params][api_parameter] = raw_tx_hex self end |