Class: GovKit::OpenCongress::RollCall

Inherits:
OpenCongressObject show all
Defined in:
lib/gov_kit/open_congress/roll_call.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from OpenCongressObject

construct_url, hash2get, make_call, parse_supporting_results

Constructor Details

#initialize(params) ⇒ RollCall

Returns a new instance of RollCall.



8
9
10
# File 'lib/gov_kit/open_congress/roll_call.rb', line 8

def initialize(params)
  super RollCall, params
end

Instance Attribute Details

#abstainsObject

Returns the value of attribute abstains.



5
6
7
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5

def abstains
  @abstains
end

#amendment_idObject

Returns the value of attribute amendment_id.



5
6
7
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5

def amendment_id
  @amendment_id
end

#ayesObject

Returns the value of attribute ayes.



5
6
7
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5

def ayes
  @ayes
end

#billObject

Returns the value of attribute bill.



5
6
7
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5

def bill
  @bill
end

#dateObject

Returns the value of attribute date.



5
6
7
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5

def date
  @date
end

#democratic_positionObject

Returns the value of attribute democratic_position.



5
6
7
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5

def democratic_position
  @democratic_position
end

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5

def id
  @id
end

#naysObject

Returns the value of attribute nays.



5
6
7
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5

def nays
  @nays
end

#numberObject

Returns the value of attribute number.



5
6
7
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5

def number
  @number
end

#presentsObject

Returns the value of attribute presents.



5
6
7
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5

def presents
  @presents
end

#questionObject

Returns the value of attribute question.



5
6
7
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5

def question
  @question
end

#republican_positionObject

Returns the value of attribute republican_position.



5
6
7
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5

def republican_position
  @republican_position
end

#requiredObject

Returns the value of attribute required.



5
6
7
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5

def required
  @required
end

#roll_typeObject

Returns the value of attribute roll_type.



5
6
7
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5

def roll_type
  @roll_type
end

#titleObject

Returns the value of attribute title.



5
6
7
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5

def title
  @title
end

#whereObject

Returns the value of attribute where.



5
6
7
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5

def where
  @where
end