Class: FederalRepLookup::CongressPerson
- Inherits:
-
Struct
- Object
- Struct
- FederalRepLookup::CongressPerson
- Defined in:
- lib/federal_rep_lookup/congress_person.rb
Instance Attribute Summary collapse
-
#district ⇒ Object
Returns the value of attribute district.
-
#link ⇒ Object
Returns the value of attribute link.
-
#name ⇒ Object
Returns the value of attribute name.
-
#office ⇒ Object
Returns the value of attribute office.
-
#party ⇒ Object
Returns the value of attribute party.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#state ⇒ Object
Returns the value of attribute state.
Instance Attribute Details
#district ⇒ Object
Returns the value of attribute district
2 3 4 |
# File 'lib/federal_rep_lookup/congress_person.rb', line 2 def district @district end |
#link ⇒ Object
Returns the value of attribute link
2 3 4 |
# File 'lib/federal_rep_lookup/congress_person.rb', line 2 def link @link end |
#name ⇒ Object
Returns the value of attribute name
2 3 4 |
# File 'lib/federal_rep_lookup/congress_person.rb', line 2 def name @name end |
#office ⇒ Object
Returns the value of attribute office
2 3 4 |
# File 'lib/federal_rep_lookup/congress_person.rb', line 2 def office @office end |
#party ⇒ Object
Returns the value of attribute party
2 3 4 |
# File 'lib/federal_rep_lookup/congress_person.rb', line 2 def party @party end |
#phone ⇒ Object
Returns the value of attribute phone
2 3 4 |
# File 'lib/federal_rep_lookup/congress_person.rb', line 2 def phone @phone end |
#state ⇒ Object
Returns the value of attribute state
2 3 4 |
# File 'lib/federal_rep_lookup/congress_person.rb', line 2 def state @state end |