Class: Chain::UnspentOutput::Query
- Inherits:
-
Query
- Object
- Query
- Chain::UnspentOutput::Query
show all
- Defined in:
- lib/chain/unspent_output.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
87
88
89
|
# File 'lib/chain/unspent_output.rb', line 87
def fetch(query)
client.conn.request('list-unspent-outputs', query)
end
|
#translate(raw) ⇒ Object
91
92
93
|
# File 'lib/chain/unspent_output.rb', line 91
def translate(raw)
UnspentOutput.new(raw)
end
|