Class: SBF::Client::Search::Campaign
- Inherits:
-
BaseEntity
- Object
- BaseEntity
- SBF::Client::Search::Campaign
- Defined in:
- lib/stbaldricks/entities/search.rb
Constant Summary
Constants inherited from BaseEntity
Instance Attribute Summary collapse
-
#campaign_id ⇒ Object
readonly
Returns the value of attribute campaign_id.
-
#disabled ⇒ Object
readonly
Returns the value of attribute disabled.
-
#event_year ⇒ Object
readonly
Returns the value of attribute event_year.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#slug ⇒ Object
readonly
Returns the value of attribute slug.
-
#total_donations ⇒ Object
readonly
Returns the value of attribute total_donations.
-
#total_events ⇒ Object
readonly
Returns the value of attribute total_events.
-
#total_participants ⇒ Object
readonly
Returns the value of attribute total_participants.
-
#website ⇒ Object
readonly
Returns the value of attribute website.
Attributes inherited from BaseEntity
Method Summary
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, #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?, #to_hash, #to_json
Constructor Details
This class inherits a constructor from SBF::Client::BaseEntity
Instance Attribute Details
#campaign_id ⇒ Object (readonly)
Returns the value of attribute campaign_id.
38 39 40 |
# File 'lib/stbaldricks/entities/search.rb', line 38 def campaign_id @campaign_id end |
#disabled ⇒ Object (readonly)
Returns the value of attribute disabled.
42 43 44 |
# File 'lib/stbaldricks/entities/search.rb', line 42 def disabled @disabled end |
#event_year ⇒ Object (readonly)
Returns the value of attribute event_year.
43 44 45 |
# File 'lib/stbaldricks/entities/search.rb', line 43 def event_year @event_year end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
40 41 42 |
# File 'lib/stbaldricks/entities/search.rb', line 40 def name @name end |
#slug ⇒ Object (readonly)
Returns the value of attribute slug.
39 40 41 |
# File 'lib/stbaldricks/entities/search.rb', line 39 def slug @slug end |
#total_donations ⇒ Object (readonly)
Returns the value of attribute total_donations.
44 45 46 |
# File 'lib/stbaldricks/entities/search.rb', line 44 def total_donations @total_donations end |
#total_events ⇒ Object (readonly)
Returns the value of attribute total_events.
45 46 47 |
# File 'lib/stbaldricks/entities/search.rb', line 45 def total_events @total_events end |
#total_participants ⇒ Object (readonly)
Returns the value of attribute total_participants.
46 47 48 |
# File 'lib/stbaldricks/entities/search.rb', line 46 def total_participants @total_participants end |
#website ⇒ Object (readonly)
Returns the value of attribute website.
41 42 43 |
# File 'lib/stbaldricks/entities/search.rb', line 41 def website @website end |