Class: GovKit::OpenStates::Vote
- Inherits:
-
GovKit::OpenStatesResource
- Object
- Resource
- GovKit::OpenStatesResource
- GovKit::OpenStates::Vote
- Defined in:
- lib/gov_kit/open_states.rb
Instance Attribute Summary
Attributes inherited from Resource
Class Method Summary collapse
Methods inherited from GovKit::OpenStatesResource
Methods inherited from Resource
#initialize, instantiate, instantiate_collection, parse, #to_md5, #unload
Constructor Details
This class inherits a constructor from GovKit::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class GovKit::Resource
Class Method Details
.find(vote_id) ⇒ Object
126 127 128 129 |
# File 'lib/gov_kit/open_states.rb', line 126 def self.find(vote_id) response = get("/votes/#{vote_id}/") parse(response) end |