Sha256: b3bd7b9ca1920648dd0ad39e7e07f6eeea289468a6c399615002a531fc293c25

Contents?: true

Size: 589 Bytes

Versions: 3

Compression:

Stored size: 589 Bytes

Contents

module ChurchCommunityBuilder

  include Enumerable

  class Fund < ApiObject

    ccb_attr_accessor :id,
                      :name,
                      :cash_bank_account,
                      :account_number,
                      :tax_deductible,
                      :online_giving_enabled,
                      :pledge_goal,
                      :parent,
                      :campuses

    def initialize(json_data = nil, options = {})
      initialize_from_json_object(json_data) unless json_data.nil?
    end


    def parent_id
      self.parent['id']
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
church-community-builder-0.2.2 lib/api/fund.rb
church-community-builder-0.2.1 lib/api/fund.rb
church-community-builder-0.2.0 lib/api/fund.rb