Sha256: eb67c6c382f69e4f325559c0f5a4f2821c3b7b43052f39d3e6aafcacb3cf29a1

Contents?: true

Size: 322 Bytes

Versions: 4

Compression:

Stored size: 322 Bytes

Contents

module RockRMS
  module Response
    class PaymentMethod < Base
      MAP = {
        id: 'Id',
        foreign_key: 'ForeignKey',
        payment_type_id: 'CurrencyTypeValueId',
        masked_number: 'AccountNumberMasked'
      }.freeze

      def format_single(data)
        to_h(MAP, data)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rock_rms-3.1.0 lib/rock_rms/response/payment_method.rb
rock_rms-3.0.2 lib/rock_rms/response/payment_method.rb
rock_rms-3.0.1 lib/rock_rms/response/payment_method.rb
rock_rms-3.0.0 lib/rock_rms/response/payment_method.rb