Module: SBA::Client::Urls
Instance Method Summary collapse
-
#all_city_primary_urls_in_state(state, options = {}) ⇒ Hash
Returns primary URLS for All Cities in a State.
-
#all_county_primary_urls_in_state(state, options = {}) ⇒ Hash
Returns primary URLS for All Counties in a State.
-
#all_primary_urls_for_county(county, state, options = {}) ⇒ Hash
Returns the primary URL for a specific County.
-
#all_primary_urls_in_state(state, options = {}) ⇒ Hash
Returns primary URLS for All Cities and Counties in a State.
-
#all_urls_city(state, options = {}) ⇒ Hash
Returns All City URLS in a State.
-
#all_urls_city_county(state, options = {}) ⇒ Hash
Returns All City and County URLS in a State.
-
#all_urls_county(state, options = {}) ⇒ Hash
Returns All County URLS in a State.
-
#all_urls_specific_city(city, state, options = {}) ⇒ Hash
Returns All URLS for a specific city.
-
#all_urls_specific_county(county, state, options = {}) ⇒ Hash
Returns All URLS for a specific county.
-
#primary_url_for_city(city, state, options = {}) ⇒ Hash
Returns the primary URL for a specific city.
Instance Method Details
#all_city_primary_urls_in_state(state, options = {}) ⇒ Hash
Returns primary URLS for All Cities in a State
29 30 31 |
# File 'lib/sba/client/urls.rb', line 29 def all_city_primary_urls_in_state(state, ={}) response = get("geodata/primary_city_links_for_state_of/#{state}.json", ) end |
#all_county_primary_urls_in_state(state, options = {}) ⇒ Hash
Returns primary URLS for All Counties in a State
41 42 43 |
# File 'lib/sba/client/urls.rb', line 41 def all_county_primary_urls_in_state(state, ={}) response = get("geodata/primary_county_links_for_state_of/#{state}.json", ) end |
#all_primary_urls_for_county(county, state, options = {}) ⇒ Hash
Returns the primary URL for a specific County
67 68 69 |
# File 'lib/sba/client/urls.rb', line 67 def all_primary_urls_for_county(county, state, ={}) response = get("geodata/primary_links_for_county_of/#{county}/#{state}.json", ) end |
#all_primary_urls_in_state(state, options = {}) ⇒ Hash
Returns primary URLS for All Cities and Counties in a State
17 18 19 |
# File 'lib/sba/client/urls.rb', line 17 def all_primary_urls_in_state(state, ={}) response = get("geodata/primary_city_county_links_for_state_of/#{state}.json", ) end |
#all_urls_city(state, options = {}) ⇒ Hash
Returns All City URLS in a State
91 92 93 |
# File 'lib/sba/client/urls.rb', line 91 def all_urls_city(state, ={}) response = get("geodata/city_links_for_state_of/#{state}.json", ) end |
#all_urls_city_county(state, options = {}) ⇒ Hash
Returns All City and County URLS in a State
79 80 81 |
# File 'lib/sba/client/urls.rb', line 79 def all_urls_city_county(state, ={}) response = get("geodata/city_county_links_for_state_of/#{state}.json", ) end |
#all_urls_county(state, options = {}) ⇒ Hash
Returns All County URLS in a State
103 104 105 |
# File 'lib/sba/client/urls.rb', line 103 def all_urls_county(state, ={}) response = get("geodata/county_links_for_state_of/#{state}.json", ) end |
#all_urls_specific_city(city, state, options = {}) ⇒ Hash
Returns All URLS for a specific city
116 117 118 |
# File 'lib/sba/client/urls.rb', line 116 def all_urls_specific_city(city, state, ={}) response = get("geodata/all_links_for_city_of/#{city}/#{state}.json", ) end |
#all_urls_specific_county(county, state, options = {}) ⇒ Hash
Returns All URLS for a specific county
129 130 131 |
# File 'lib/sba/client/urls.rb', line 129 def all_urls_specific_county(county, state, ={}) response = get("geodata/all_links_for_county_of/#{county}/#{state}.json", ) end |
#primary_url_for_city(city, state, options = {}) ⇒ Hash
Returns the primary URL for a specific city
54 55 56 |
# File 'lib/sba/client/urls.rb', line 54 def primary_url_for_city(city, state, ={}) response = get("geodata/primary_links_for_city_of/#{city}/#{state}.json", ) end |