class SBF::Client::Fundraiser::PartialEvent

Public Instance Methods

to_hash() click to toggle source
Calls superclass method SBF::Client::BaseEntity#to_hash
# File lib/stbaldricks/entities/fundraiser.rb, line 86
def to_hash
  entity_hash = super

  # Fundraisers do not require an event but are still reliant on an event year
  entity_hash.delete(:id) if id.nil?

  entity_hash
end