Class: Bitcoin::Payments::Payment
- Defined in:
- lib/bitcoin/payments/payment.pb.rb
Overview
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.parse_from_payload(payload) ⇒ Object
15 16 17 |
# File 'lib/bitcoin/payments/payment.pb.rb', line 15 def self.parse_from_payload(payload) decode(payload) end |
Instance Method Details
#transactions ⇒ Object
19 20 21 |
# File 'lib/bitcoin/payments/payment.pb.rb', line 19 def transactions @values[:transactions].map{|raw_tx|Bitcoin::Tx.parse_from_payload(raw_tx)} end |