class MeetupClientRails::Model::Venue

Attributes

address_1[RW]
address_2[RW]
city[RW]
country[RW]
id[RW]
lat[RW]
localized_country_name[RW]
lon[RW]
name[RW]
phone[RW]
state[RW]
time[RW]
visibility[RW]
zip[RW]

Public Class Methods

new(json_response = {}) click to toggle source
# File lib/meetup_client_rails/models/venue.rb, line 7
def initialize(json_response = {})
  @id = json_response['id']
  @visibility = json_response['visibility']
  @zip = json_response['zip']
  @state = json_response['state']
  @phone = json_response['phone']
  @name = json_response['name']
  @lon = json_response['lon']
  @lat = json_response['lat']
  @time = json_response['time']
  @localized_country_name = json_response['localized_country_name']
  @country = json_response['country']
  @city = json_response['city']
  @address_1 = json_response['address_1']
  @address_2 = json_response['address_2']
  @address_3 = json_response['address_3']
end