Class: MeetupApi::Group

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_comments(apiclient, extraparams = {}) ⇒ Object



124
125
126
127
# File 'lib/meetup_api.rb', line 124

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

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



114
115
116
117
# File 'lib/meetup_api.rb', line 114

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

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



119
120
121
122
# File 'lib/meetup_api.rb', line 119

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

#to_sObject



129
130
131
# File 'lib/meetup_api.rb', line 129

def to_s
  "Group #{self.id} named #{self.name}"
end