Class: MeetupApi::Event

Inherits:
ApiItem show all
Defined in:
lib/meetup_api.rb

Instance Method Summary collapse

Methods inherited from Hashit

#initialize

Constructor Details

This class inherits a constructor from MeetupApi::Hashit

Instance Method Details

#get_rsvps(apiclient, extraparams = {}) ⇒ Object



97
98
99
100
# File 'lib/meetup_api.rb', line 97

def get_rsvps(apiclient, extraparams={})
  extraparams['event_id'] = self.id
  apiclient.get_rsvps extraparams
end

#to_sObject



102
103
104
# File 'lib/meetup_api.rb', line 102

def to_s
  "Event #{self.id} named #{self.name} at #{self.time} (url: #{self.event_url})"
end