Class: RockRMS::Response::RecurringDonationDetails

Inherits:
Base
  • Object
show all
Defined in:
lib/rock_rms/response/recurring_donation_details.rb

Constant Summary collapse

MAP =
{
  amount: 'Amount',
  fee_coverage_amount: 'FeeCoverageAmount',
  fund_id: 'AccountId',
  entity_type_id: 'EntityTypeId',
  entity_id: 'EntityId'
}.freeze

Constants inherited from Base

Base::BASE_MAPPING

Instance Attribute Summary

Attributes inherited from Base

#data

Instance Method Summary collapse

Methods inherited from Base

format, #format, #format_attributes, #initialize, #to_h

Constructor Details

This class inherits a constructor from RockRMS::Response::Base

Instance Method Details

#format_single(data) ⇒ Object



12
13
14
# File 'lib/rock_rms/response/recurring_donation_details.rb', line 12

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