Sha256: 278075c8e45f4679efbb1c99419316583e01693683c9bb6e04be3217485c0416

Contents?: true

Size: 365 Bytes

Versions: 1

Compression:

Stored size: 365 Bytes

Contents

module MonoMerchant
  module Qr

    # Get info about QR paydesk
    class Details < ApiRequest

      attr_reader :qr_id

      def initialize(qr_id)
        @qr_id = qr_id
        super(type: :get)
      end

      protected
      def params
        { qrId: qr_id }
      end

      def data
        %w[shortQrId invoiceId amount ccy]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mono-merchant-0.2.0 lib/mono-merchant/qr/details.rb