Class: JustGiving::Event

Inherits:
Client
  • Object
show all
Defined in:
lib/justgiving/event.rb

Instance Method Summary collapse

Methods inherited from Client

#initialize

Constructor Details

This class inherits a constructor from JustGiving::Client

Instance Method Details

#get_by_event_id(id) ⇒ Object



6
7
8
# File 'lib/justgiving/event.rb', line 6

def get_by_event_id(id)
  get("event/#{id}")
end

#get_pages_by_event_id(id, filters = {}) ⇒ Object



10
11
12
# File 'lib/justgiving/event.rb', line 10

def get_pages_by_event_id(id, filters = {})
  get("event/#{id}/pages")
end