Sha256: 358f62d358502544f27f257baab68d475affbebf265585471f4afc1807065502

Contents?: true

Size: 342 Bytes

Versions: 26

Compression:

Stored size: 342 Bytes

Contents

module Bitcoin
  module Payments

    # https://github.com/bitcoin/bips/blob/master/bip-0070.mediawiki#PaymentACK
    class PaymentACK < Protobuf::Message

      required Bitcoin::Payments::Payment, :payment, 1

      optional :string, :memo, 2

      def self.parse_from_payload(payload)
        decode(payload)
      end
    end

  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
bitcoinrb-1.3.0 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-1.2.1 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-1.2.0 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-1.1.1 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-1.1.0 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-1.0.0 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-0.9.0 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-0.8.0 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-0.7.0 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-0.6.0 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-0.5.0 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-0.4.0 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-0.3.2 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-0.3.1 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-0.3.0 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-0.2.9 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-0.2.8 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-0.2.7 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-0.2.6 lib/bitcoin/payments/payment_ack.pb.rb
bitcoinrb-0.2.5 lib/bitcoin/payments/payment_ack.pb.rb