Class: Chain::Transaction::Query
- Inherits:
-
Query
- Object
- Query
- Chain::Transaction::Query
show all
- Defined in:
- lib/chain/transaction.rb
Instance Attribute Summary
Attributes inherited from Query
#client
Instance Method Summary
collapse
Methods inherited from Query
#each, #initialize
Constructor Details
This class inherits a constructor from Chain::Query
Instance Method Details
#fetch(query) ⇒ Object
115
116
117
|
# File 'lib/chain/transaction.rb', line 115
def fetch(query)
client.conn.request('list-transactions', query)
end
|
#translate(raw) ⇒ Object
119
120
121
|
# File 'lib/chain/transaction.rb', line 119
def translate(raw)
Transaction.new(raw)
end
|