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.
-
#mypage_url ⇒ Object
readonly
Returns the value of attribute mypage_url.
-
#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.
-
#total_shavees ⇒ Object
readonly
Returns the value of attribute total_shavees.
-
#website ⇒ Object
readonly
Returns the value of attribute website.
Attributes inherited from BaseEntity
Method Summary
Methods inherited from BaseEntity
allow_instantiation?, attr_accessor, attr_reader, attr_writer, collection_attributes, defined_attributes, #destroyed?, #dirty_data, entity_attr_accessor, entity_attr_reader, entity_attr_writer, entity_attributes, entity_collection_attr_accessor, entity_collection_attr_reader, entity_collection_attr_writer, #error, inherited, #initialize, #keys_hash, #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, #to_partial
Methods included from EntityResponseConcern
#add_errors, #data, #error?, #errors?, #errors_http_code=, #http_code, #success?
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.
58 59 60 |
# File 'lib/stbaldricks/entities/search.rb', line 58 def campaign_id @campaign_id end |
#disabled ⇒ Object (readonly)
Returns the value of attribute disabled.
62 63 64 |
# File 'lib/stbaldricks/entities/search.rb', line 62 def disabled @disabled end |
#event_year ⇒ Object (readonly)
Returns the value of attribute event_year.
63 64 65 |
# File 'lib/stbaldricks/entities/search.rb', line 63 def event_year @event_year end |
#mypage_url ⇒ Object (readonly)
Returns the value of attribute mypage_url.
68 69 70 |
# File 'lib/stbaldricks/entities/search.rb', line 68 def mypage_url @mypage_url end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
60 61 62 |
# File 'lib/stbaldricks/entities/search.rb', line 60 def name @name end |
#slug ⇒ Object (readonly)
Returns the value of attribute slug.
59 60 61 |
# File 'lib/stbaldricks/entities/search.rb', line 59 def slug @slug end |
#total_donations ⇒ Object (readonly)
Returns the value of attribute total_donations.
64 65 66 |
# File 'lib/stbaldricks/entities/search.rb', line 64 def total_donations @total_donations end |
#total_events ⇒ Object (readonly)
Returns the value of attribute total_events.
65 66 67 |
# File 'lib/stbaldricks/entities/search.rb', line 65 def total_events @total_events end |
#total_participants ⇒ Object (readonly)
Returns the value of attribute total_participants.
66 67 68 |
# File 'lib/stbaldricks/entities/search.rb', line 66 def total_participants @total_participants end |
#total_shavees ⇒ Object (readonly)
Returns the value of attribute total_shavees.
67 68 69 |
# File 'lib/stbaldricks/entities/search.rb', line 67 def total_shavees @total_shavees end |
#website ⇒ Object (readonly)
Returns the value of attribute website.
61 62 63 |
# File 'lib/stbaldricks/entities/search.rb', line 61 def website @website end |