Class: TheCity::Event

Inherits:
Content show all
Defined in:
lib/the_city/event.rb

Overview

class for content of type ‘Event’

Instance Attribute Summary collapse

Attributes inherited from Content

#address, #blurb, #body, #featured, #file_attachments, #gender_only, #gender_only_gender, #group, #group_id, #id, #leader_only, #member_only, #plaza, #priority, #shareable, #short_url, #title

Attributes inherited from Base

#attrs

Method Summary

Methods included from Time

#created?, #created_at, #ended?, #ending_at, #started?, #starting_at, #updated?, #updated_at

Methods inherited from Base

#[], attr_reader, define_attribute_method, define_predicate_method, define_uri_method, from_response, #initialize, #memoize, object_attr_reader, uri_attr_reader

Constructor Details

This class inherits a constructor from TheCity::Base

Instance Attribute Details

#timezoneObject (readonly)

Returns the value of attribute timezone.



8
9
10
# File 'lib/the_city/event.rb', line 8

def timezone
  @timezone
end