class MeetupClientRails::Model::Group
Attributes
category[RW]
city[RW]
country[RW]
created[RW]
description[RW]
group_photo[RW]
id[RW]
join_mode[RW]
key_photo[RW]
lat[RW]
link[RW]
localized_country_name[RW]
lon[RW]
members[RW]
name[RW]
next_event[RW]
organizer[RW]
photos[RW]
state[RW]
time[RW]
timezone[RW]
urlname[RW]
who[RW]
Public Class Methods
new(json_response)
click to toggle source
# File lib/meetup_client_rails/models/group.rb, line 9 def initialize(json_response) @id = json_response['id'] @name = json_response['name'] @link = json_response['link'] @time = json_response['time'] @urlname = json_response['urlname'] @description = json_response['description'] @created = json_response['created'] @city = json_response['city'] @country = json_response['country'] @localized_country_name = json_response['localized_country_name'] @state = json_response['state'] @join_mode = json_response['join_mode'] @visibility = json_response['visibility'] @lat = json_response['lat'] @lon = json_response['lon'] @members = json_response['members'] @organizer = json_response['organizer'] @who = json_response['who'] @timezone = json_response['timezone'] @next_event = json_response['next_event'] @category = json_response['category'] @group_photo = json_response['group_photo'] @key_photo = json_response['key_photo'] @photos = json_response['photos'] end