Class: Tiltify::FundraisingEventsResource
- Defined in:
- lib/tiltify/resources/fundraising_events.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Tiltify::Resource
Instance Method Details
#retrieve(fundraising_event_id:) ⇒ Object
4 5 6 |
# File 'lib/tiltify/resources/fundraising_events.rb', line 4 def retrieve(fundraising_event_id:) FundraisingEvent.new get_request("fundraising-events/#{fundraising_event_id}").body.dig("data") end |