Sha256: 6fb5f51413e69e8b0bc63583e511c6bd68acfdc2651b009104a3e4e3ef7b199d

Contents?: true

Size: 465 Bytes

Versions: 11

Compression:

Stored size: 465 Bytes

Contents

module VoteSmart
  
  class Local < Common
    
    # Returns a list of cities in a given state
    def get_cities state_id
      request("Local.getCities", "stateId" => state_id)
    end
    
    # Returns a list of counties in a given state.
    def get_counties state_id
      request("Local.getCounties", "stateId" => state_id)
    end
    
    # 
    def get_officials local_id
      request("Local.getOfficials", "localId" => local_id)
    end
    
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
netroots-ruby-votesmart-0.2.0 lib/vote_smart/local.rb
netroots-ruby-votesmart-0.2.1 lib/vote_smart/local.rb
netroots-ruby-votesmart-0.2.2 lib/vote_smart/local.rb
netroots-ruby-votesmart-0.2.3 lib/vote_smart/local.rb
netroots-ruby-votesmart-0.2.4 lib/vote_smart/local.rb
votesmart-0.4.1 lib/vote_smart/local.rb
votesmart-0.4.0 lib/vote_smart/local.rb
votesmart-0.3.3 lib/vote_smart/local.rb
votesmart-0.3.2 lib/vote_smart/local.rb
votesmart-0.3.1 lib/vote_smart/local.rb
votesmart-0.3.0 lib/vote_smart/local.rb