Class: SBF::Client::Campaign::Totals

Inherits:
BaseEntity show all
Defined in:
lib/stbaldricks/entities/campaign.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, #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

#all_years_amount_raisedObject (readonly)

Returns the value of attribute all_years_amount_raised.



16
17
18
# File 'lib/stbaldricks/entities/campaign.rb', line 16

def all_years_amount_raised
  @all_years_amount_raised
end

#current_year_amount_raisedObject (readonly)

Returns the value of attribute current_year_amount_raised.



14
15
16
# File 'lib/stbaldricks/entities/campaign.rb', line 14

def current_year_amount_raised
  @current_year_amount_raised
end

#participantsObject (readonly)

Returns the value of attribute participants.



17
18
19
# File 'lib/stbaldricks/entities/campaign.rb', line 17

def participants
  @participants
end

#previous_year_amount_raisedObject (readonly)

Returns the value of attribute previous_year_amount_raised.



15
16
17
# File 'lib/stbaldricks/entities/campaign.rb', line 15

def previous_year_amount_raised
  @previous_year_amount_raised
end

#shaveesObject (readonly)

Returns the value of attribute shavees.



18
19
20
# File 'lib/stbaldricks/entities/campaign.rb', line 18

def shavees
  @shavees
end