Class: SBF::Client::FullEvent
- Inherits:
-
Event
- Object
- BaseEntity
- TopLevelEntity
- Event
- SBF::Client::FullEvent
- Defined in:
- lib/stbaldricks/entities/event.rb
Direct Known Subclasses
Challenger::FullEvent, Donation::FullEvent, EventApplication::FullEvent, SBF::Client::Fundraiser::FullEvent, KidHonor::FullEvent, Photo::FullEvent, RecurringGift::FullEvent
Constant Summary
Constants inherited from TopLevelEntity
TopLevelEntity::DEFAULT_CLASS_ACTIONS, TopLevelEntity::DEFAULT_CRUD_ACTIONS, TopLevelEntity::DEFAULT_ENDPOINT, TopLevelEntity::DEFAULT_INSTANCE_ACTIONS
Constants inherited from BaseEntity
Instance Attribute Summary collapse
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#date ⇒ Object
Returns the value of attribute date.
-
#display_name ⇒ Object
readonly
Returns the value of attribute display_name.
-
#end_time ⇒ Object
Returns the value of attribute end_time.
-
#event_title ⇒ Object
Returns the value of attribute event_title.
-
#fundraising_goal ⇒ Object
Returns the value of attribute fundraising_goal.
-
#fundraising_message ⇒ Object
Returns the value of attribute fundraising_message.
-
#how_created ⇒ Object
Returns the value of attribute how_created.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_date_confirmed ⇒ Object
Returns the value of attribute is_date_confirmed.
-
#is_open_for_fast_registration ⇒ Object
Returns the value of attribute is_open_for_fast_registration.
-
#is_open_for_registration ⇒ Object
Returns the value of attribute is_open_for_registration.
-
#is_private ⇒ Object
Returns the value of attribute is_private.
-
#is_time_confirmed ⇒ Object
Returns the value of attribute is_time_confirmed.
-
#modified_at ⇒ Object
readonly
Returns the value of attribute modified_at.
-
#modified_by ⇒ Object
Returns the value of attribute modified_by.
-
#offline_donation_form ⇒ Object
Returns the value of attribute offline_donation_form.
-
#offline_donation_uuid ⇒ Object
Returns the value of attribute offline_donation_uuid.
-
#promotional_code ⇒ Object
Returns the value of attribute promotional_code.
-
#start_time ⇒ Object
Returns the value of attribute start_time.
-
#status ⇒ Object
Returns the value of attribute status.
-
#sub_type ⇒ Object
Returns the value of attribute sub_type.
-
#type ⇒ Object
Returns the value of attribute type.
-
#year ⇒ Object
Returns the value of attribute year.
Attributes inherited from BaseEntity
Instance Method Summary collapse
- #active? ⇒ Boolean
- #open_for_fast_registration? ⇒ Boolean
- #open_for_registration? ⇒ Boolean
- #virtual? ⇒ Boolean
Methods inherited from Event
Methods included from Entities::Cacheable
Methods inherited from TopLevelEntity
_endpoint, action, actions, blacklist_action, class_action, define_endpoint, endpoint, #endpoint, instance_action
Methods inherited from BaseEntity
#add_errors, allow_instantiation?, attr_accessor, attr_reader, attr_writer, attributes, #attributes=, collection_attributes, entity_attr_accessor, entity_attr_reader, entity_attr_writer, entity_attributes, entity_collection_attr_accessor, entity_collection_attr_reader, entity_collection_attr_writer, inherited, #initialize, #keys_data, #model_name, multitype_attr_accessor, multitype_attr_reader, multitype_attr_writer, multitype_collection_attr_accessor, multitype_collection_attr_reader, multitype_collection_attr_writer, #not_provided_attributes, optional_attributes, #persisted?, #reload!, #reload_recursive, #rollback!, #to_hash, #to_json, #update_data
Constructor Details
This class inherits a constructor from SBF::Client::BaseEntity
Instance Attribute Details
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
141 142 143 |
# File 'lib/stbaldricks/entities/event.rb', line 141 def created_at @created_at end |
#date ⇒ Object
Returns the value of attribute date.
124 125 126 |
# File 'lib/stbaldricks/entities/event.rb', line 124 def date @date end |
#display_name ⇒ Object (readonly)
Returns the value of attribute display_name.
119 120 121 |
# File 'lib/stbaldricks/entities/event.rb', line 119 def display_name @display_name end |
#end_time ⇒ Object
Returns the value of attribute end_time.
125 126 127 |
# File 'lib/stbaldricks/entities/event.rb', line 125 def end_time @end_time end |
#event_title ⇒ Object
Returns the value of attribute event_title.
120 121 122 |
# File 'lib/stbaldricks/entities/event.rb', line 120 def event_title @event_title end |
#fundraising_goal ⇒ Object
Returns the value of attribute fundraising_goal.
128 129 130 |
# File 'lib/stbaldricks/entities/event.rb', line 128 def fundraising_goal @fundraising_goal end |
#fundraising_message ⇒ Object
Returns the value of attribute fundraising_message.
128 129 130 |
# File 'lib/stbaldricks/entities/event.rb', line 128 def @fundraising_message end |
#how_created ⇒ Object
Returns the value of attribute how_created.
143 144 145 |
# File 'lib/stbaldricks/entities/event.rb', line 143 def how_created @how_created end |
#id ⇒ Object
Returns the value of attribute id.
117 118 119 |
# File 'lib/stbaldricks/entities/event.rb', line 117 def id @id end |
#is_date_confirmed ⇒ Object
Returns the value of attribute is_date_confirmed.
124 125 126 |
# File 'lib/stbaldricks/entities/event.rb', line 124 def is_date_confirmed @is_date_confirmed end |
#is_open_for_fast_registration ⇒ Object
Returns the value of attribute is_open_for_fast_registration.
126 127 128 |
# File 'lib/stbaldricks/entities/event.rb', line 126 def is_open_for_fast_registration @is_open_for_fast_registration end |
#is_open_for_registration ⇒ Object
Returns the value of attribute is_open_for_registration.
126 127 128 |
# File 'lib/stbaldricks/entities/event.rb', line 126 def is_open_for_registration @is_open_for_registration end |
#is_private ⇒ Object
Returns the value of attribute is_private.
123 124 125 |
# File 'lib/stbaldricks/entities/event.rb', line 123 def is_private @is_private end |
#is_time_confirmed ⇒ Object
Returns the value of attribute is_time_confirmed.
125 126 127 |
# File 'lib/stbaldricks/entities/event.rb', line 125 def is_time_confirmed @is_time_confirmed end |
#modified_at ⇒ Object (readonly)
Returns the value of attribute modified_at.
141 142 143 |
# File 'lib/stbaldricks/entities/event.rb', line 141 def modified_at @modified_at end |
#modified_by ⇒ Object
Returns the value of attribute modified_by.
142 143 144 |
# File 'lib/stbaldricks/entities/event.rb', line 142 def modified_by @modified_by end |
#offline_donation_form ⇒ Object
Returns the value of attribute offline_donation_form.
127 128 129 |
# File 'lib/stbaldricks/entities/event.rb', line 127 def offline_donation_form @offline_donation_form end |
#offline_donation_uuid ⇒ Object
Returns the value of attribute offline_donation_uuid.
127 128 129 |
# File 'lib/stbaldricks/entities/event.rb', line 127 def offline_donation_uuid @offline_donation_uuid end |
#promotional_code ⇒ Object
Returns the value of attribute promotional_code.
144 145 146 |
# File 'lib/stbaldricks/entities/event.rb', line 144 def promotional_code @promotional_code end |
#start_time ⇒ Object
Returns the value of attribute start_time.
125 126 127 |
# File 'lib/stbaldricks/entities/event.rb', line 125 def start_time @start_time end |
#status ⇒ Object
Returns the value of attribute status.
118 119 120 |
# File 'lib/stbaldricks/entities/event.rb', line 118 def status @status end |
#sub_type ⇒ Object
Returns the value of attribute sub_type.
122 123 124 |
# File 'lib/stbaldricks/entities/event.rb', line 122 def sub_type @sub_type end |
#type ⇒ Object
Returns the value of attribute type.
121 122 123 |
# File 'lib/stbaldricks/entities/event.rb', line 121 def type @type end |
#year ⇒ Object
Returns the value of attribute year.
117 118 119 |
# File 'lib/stbaldricks/entities/event.rb', line 117 def year @year end |
Instance Method Details
#active? ⇒ Boolean
152 153 154 |
# File 'lib/stbaldricks/entities/event.rb', line 152 def active? status == SBF::Client::Event::Status::ACTIVE end |
#open_for_fast_registration? ⇒ Boolean
164 165 166 |
# File 'lib/stbaldricks/entities/event.rb', line 164 def open_for_fast_registration? is_open_for_fast_registration end |
#open_for_registration? ⇒ Boolean
160 161 162 |
# File 'lib/stbaldricks/entities/event.rb', line 160 def open_for_registration? is_open_for_registration end |