Class: GovKit::OpenCongress::RollCall
- Inherits:
-
OpenCongressObject
- Object
- OpenCongressObject
- GovKit::OpenCongress::RollCall
- Defined in:
- lib/gov_kit/open_congress/roll_call.rb
Instance Attribute Summary collapse
-
#abstains ⇒ Object
Returns the value of attribute abstains.
-
#amendment_id ⇒ Object
Returns the value of attribute amendment_id.
-
#ayes ⇒ Object
Returns the value of attribute ayes.
-
#bill ⇒ Object
Returns the value of attribute bill.
-
#date ⇒ Object
Returns the value of attribute date.
-
#democratic_position ⇒ Object
Returns the value of attribute democratic_position.
-
#id ⇒ Object
Returns the value of attribute id.
-
#nays ⇒ Object
Returns the value of attribute nays.
-
#number ⇒ Object
Returns the value of attribute number.
-
#presents ⇒ Object
Returns the value of attribute presents.
-
#question ⇒ Object
Returns the value of attribute question.
-
#republican_position ⇒ Object
Returns the value of attribute republican_position.
-
#required ⇒ Object
Returns the value of attribute required.
-
#roll_type ⇒ Object
Returns the value of attribute roll_type.
-
#title ⇒ Object
Returns the value of attribute title.
-
#where ⇒ Object
Returns the value of attribute where.
Instance Method Summary collapse
-
#initialize(params) ⇒ RollCall
constructor
A new instance of RollCall.
Methods inherited from OpenCongressObject
construct_url, hash2get, make_call, parse_supporting_results
Constructor Details
Instance Attribute Details
#abstains ⇒ Object
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_id ⇒ Object
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 |
#ayes ⇒ Object
Returns the value of attribute ayes.
5 6 7 |
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5 def ayes @ayes end |
#bill ⇒ Object
Returns the value of attribute bill.
5 6 7 |
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5 def bill @bill end |
#date ⇒ Object
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_position ⇒ Object
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 |
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5 def id @id end |
#nays ⇒ Object
Returns the value of attribute nays.
5 6 7 |
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5 def nays @nays end |
#number ⇒ Object
Returns the value of attribute number.
5 6 7 |
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5 def number @number end |
#presents ⇒ Object
Returns the value of attribute presents.
5 6 7 |
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5 def presents @presents end |
#question ⇒ Object
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_position ⇒ Object
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 |
#required ⇒ Object
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_type ⇒ Object
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 |
#title ⇒ Object
Returns the value of attribute title.
5 6 7 |
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5 def title @title end |
#where ⇒ Object
Returns the value of attribute where.
5 6 7 |
# File 'lib/gov_kit/open_congress/roll_call.rb', line 5 def where @where end |