Class: Qapi::Meetup::Member

Inherits:
Qapi::Model
  • Object
show all
Defined in:
lib/qapi/meetup/model/member.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



6
7
8
# File 'lib/qapi/meetup/model/member.rb', line 6

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



6
7
8
# File 'lib/qapi/meetup/model/member.rb', line 6

def name
  @name
end

#thumbnailObject (readonly)

Returns the value of attribute thumbnail.



6
7
8
# File 'lib/qapi/meetup/model/member.rb', line 6

def thumbnail
  @thumbnail
end

Instance Method Details

#photoObject



13
14
15
16
17
# File 'lib/qapi/meetup/model/member.rb', line 13

def photo
  if @photo
    Photo.new(*@photo.values_at('photo_id', 'photo_link', 'thumb_link'))
  end
end