Class: SBF::Client::Search::Campaign

Inherits:
BaseEntity show all
Defined in:
lib/stbaldricks/entities/search.rb

Constant Summary

Constants inherited from BaseEntity

BaseEntity::ELSE

Instance Attribute Summary collapse

Attributes inherited from BaseEntity

#errors

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_idObject (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

#disabledObject (readonly)

Returns the value of attribute disabled.



42
43
44
# File 'lib/stbaldricks/entities/search.rb', line 42

def disabled
  @disabled
end

#event_yearObject (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

#nameObject (readonly)

Returns the value of attribute name.



40
41
42
# File 'lib/stbaldricks/entities/search.rb', line 40

def name
  @name
end

#slugObject (readonly)

Returns the value of attribute slug.



39
40
41
# File 'lib/stbaldricks/entities/search.rb', line 39

def slug
  @slug
end

#total_donationsObject (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_eventsObject (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_participantsObject (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

#websiteObject (readonly)

Returns the value of attribute website.



41
42
43
# File 'lib/stbaldricks/entities/search.rb', line 41

def website
  @website
end