class RMeetup::Type::Photo

Edited by Jason Berlinsky on 1/20/11 to allow for arbitrary data access See www.meetup.com/meetup_api/docs/photos/ for available fields

Attributes

photo[RW]

Public Class Methods

new(photo = {}) click to toggle source
# File lib/rmeetup/type/photo.rb, line 17
def initialize(photo = {})
  self.photo = photo
end

Public Instance Methods

created() click to toggle source

Special accessors that need typecasting or other parsing

# File lib/rmeetup/type/photo.rb, line 27
def created
  return DateTime.parse(self.photo['created'])
end
method_missing(id, *args) click to toggle source
# File lib/rmeetup/type/photo.rb, line 21
def method_missing(id, *args)
  return self.photo[id.id2name]
end