Class: RockRMS::Response::PaymentDetail
- Defined in:
- lib/rock_rms/response/payment_detail.rb
Constant Summary collapse
- MAP =
{ id: 'Id', exp_month: 'ExpirationMonth', exp_year: 'ExpirationYear', foreign_key: 'ForeignKey', payment_type_id: 'CurrencyTypeValueId', masked_number: 'AccountNumberMasked' }.freeze
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
format, #format, #initialize, #to_h
Constructor Details
This class inherits a constructor from RockRMS::Response::Base
Instance Method Details
#format_single(data) ⇒ Object
13 14 15 |
# File 'lib/rock_rms/response/payment_detail.rb', line 13 def format_single(data) to_h(MAP, data) end |