Class: Kentaa::Api::Resources::ManualDonations
- Includes:
- Enumerable
- Defined in:
- lib/kentaa/api/resources/manual_donations.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from List
#all, #current_page, #links, #next, #next_page, #next_page?, #pages, #per_page, #previous, #previous_page, #previous_page?, #total_entries, #total_pages
Methods inherited from Base
Constructor Details
This class inherits a constructor from Kentaa::Api::Resources::Base
Instance Method Details
#create(attributes = {}) ⇒ Object
13 14 15 16 |
# File 'lib/kentaa/api/resources/manual_donations.rb', line 13 def create(attributes = {}) donation = Kentaa::Api::Resources::ManualDonation.new(config, ) donation.save(attributes) end |
#each(&block) ⇒ Object
9 10 11 |
# File 'lib/kentaa/api/resources/manual_donations.rb', line 9 def each(&block) manual_donations.each(&block) end |