Class: PYR::Rep

Inherits:
ResponseObject show all
Defined in:
lib/pyr/response_objects/rep.rb

Overview

The Rep is the response object that carries the data for a single elected representative.

Instance Attribute Summary collapse

Method Summary

Methods inherited from ResponseObject

#call, #controller, #initialize

Constructor Details

This class inherits a constructor from PYR::ResponseObject

Instance Attribute Details

#activeObject

Returns the value of attribute active.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def active
  @active
end

#bioguide_idObject

Returns the value of attribute bioguide_id.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def bioguide_id
  @bioguide_id
end

#contact_formObject

Returns the value of attribute contact_form.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def contact_form
  @contact_form
end

#districtObject

Returns the value of attribute district.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def district
  @district
end

#facebookObject

Returns the value of attribute facebook.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def facebook
  @facebook
end

#facebook_idObject

Returns the value of attribute facebook_id.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def facebook_id
  @facebook_id
end

#firstObject

Returns the value of attribute first.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def first
  @first
end

#googleplusObject

Returns the value of attribute googleplus.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def googleplus
  @googleplus
end

#instagramObject

Returns the value of attribute instagram.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def instagram
  @instagram
end

#instagram_idObject

Returns the value of attribute instagram_id.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def instagram_id
  @instagram_id
end

#lastObject

Returns the value of attribute last.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def last
  @last
end

#middleObject

Returns the value of attribute middle.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def middle
  @middle
end

#nicknameObject

Returns the value of attribute nickname.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def nickname
  @nickname
end

#official_fullObject

Returns the value of attribute official_full.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def official_full
  @official_full
end

#partyObject

Returns the value of attribute party.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def party
  @party
end

#photoObject

Returns the value of attribute photo.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def photo
  @photo
end

#roleObject

Returns the value of attribute role.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def role
  @role
end

#selfObject

Returns the value of attribute self.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def self
  @self
end

#senate_classObject

Returns the value of attribute senate_class.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def senate_class
  @senate_class
end

#stateObject

Returns the value of attribute state.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def state
  @state
end

#suffixObject

Returns the value of attribute suffix.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def suffix
  @suffix
end

#twitterObject

Returns the value of attribute twitter.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def twitter
  @twitter
end

#twitter_idObject

Returns the value of attribute twitter_id.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def twitter_id
  @twitter_id
end

#urlObject

Returns the value of attribute url.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def url
  @url
end

#youtubeObject

Returns the value of attribute youtube.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def youtube
  @youtube
end

#youtube_idObject

Returns the value of attribute youtube_id.



15
16
17
# File 'lib/pyr/response_objects/rep.rb', line 15

def youtube_id
  @youtube_id
end