Class: SiebelDonations::Balance

Inherits:
Base
  • Object
show all
Defined in:
lib/siebel_donations/balance.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

find, get

Constructor Details

#initialize(json) ⇒ Balance

Returns a new instance of Balance.



9
10
11
12
13
# File 'lib/siebel_donations/balance.rb', line 9

def initialize(json)
  @id = json.first

  super(json.last)
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



6
7
8
# File 'lib/siebel_donations/balance.rb', line 6

def id
  @id
end

#italian_savings_fundObject (readonly)

Returns the value of attribute italian_savings_fund.



6
7
8
# File 'lib/siebel_donations/balance.rb', line 6

def italian_savings_fund
  @italian_savings_fund
end

#primaryObject (readonly)

Returns the value of attribute primary.



6
7
8
# File 'lib/siebel_donations/balance.rb', line 6

def primary
  @primary
end

#re_entry_fundObject (readonly)

Returns the value of attribute re_entry_fund.



6
7
8
# File 'lib/siebel_donations/balance.rb', line 6

def re_entry_fund
  @re_entry_fund
end

#reimbursement_advanceObject (readonly)

Returns the value of attribute reimbursement_advance.



6
7
8
# File 'lib/siebel_donations/balance.rb', line 6

def reimbursement_advance
  @reimbursement_advance
end

#return_travel_fundObject (readonly)

Returns the value of attribute return_travel_fund.



6
7
8
# File 'lib/siebel_donations/balance.rb', line 6

def return_travel_fund
  @return_travel_fund
end

#salary_advanceObject (readonly)

Returns the value of attribute salary_advance.



6
7
8
# File 'lib/siebel_donations/balance.rb', line 6

def salary_advance
  @salary_advance
end

#staff_conference_savings_fundObject (readonly)

Returns the value of attribute staff_conference_savings_fund.



6
7
8
# File 'lib/siebel_donations/balance.rb', line 6

def staff_conference_savings_fund
  @staff_conference_savings_fund
end

Class Method Details

.pathObject



4
# File 'lib/siebel_donations/balance.rb', line 4

def self.path() '/staffAccount/balances'; end