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

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

#disabledObject (readonly)

Returns the value of attribute disabled.



62
63
64
# File 'lib/stbaldricks/entities/search.rb', line 62

def disabled
  @disabled
end

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

#nameObject (readonly)

Returns the value of attribute name.



60
61
62
# File 'lib/stbaldricks/entities/search.rb', line 60

def name
  @name
end

#slugObject (readonly)

Returns the value of attribute slug.



59
60
61
# File 'lib/stbaldricks/entities/search.rb', line 59

def slug
  @slug
end

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

#websiteObject (readonly)

Returns the value of attribute website.



61
62
63
# File 'lib/stbaldricks/entities/search.rb', line 61

def website
  @website
end