Class: FaithTeams::API::V2::Entity::Contribution
- Defined in:
- lib/faithteams/api/v2/entity/contribution.rb
Overview
Wraps a faithteams contribution object.
Instance Method Summary collapse
-
#records ⇒ Array<ContributionRecord>
The contribution records.
Methods inherited from Base
Constructor Details
This class inherits a constructor from FaithTeams::API::V2::Entity::Base
Instance Method Details
#records ⇒ Array<ContributionRecord>
Returns the contribution records.
10 11 12 13 14 |
# File 'lib/faithteams/api/v2/entity/contribution.rb', line 10 def records attributes.map do |record| FaithTeams::API::V2::Entity::ContributionRecord.new(attributes: record) end end |