class SBF::Client::Fund::YearlyTotals

Attributes

amount_raised[R]
events[R]
fundraisers[R]
non_shavees[R]
participants[R]
shavees[R]
teams[R]
year[R]

Public Instance Methods

to_hash() click to toggle source
# File lib/stbaldricks/entities/fund.rb, line 36
def to_hash
  {}.tap do |hsh|
    self.class.defined_attributes.each { |name| hsh[name] = send(name.to_sym) unless name.to_sym == :year }
  end
end