Class: SBA::Client
- Inherits:
-
Object
- Object
- SBA::Client
- Defined in:
- lib/sba/client.rb,
lib/sba/client/data.rb,
lib/sba/client/urls.rb,
lib/sba/client/loans.rb,
lib/sba/client/sites.rb,
lib/sba/client/request.rb,
lib/sba/client/licenses.rb,
lib/sba/client/connection.rb
Defined Under Namespace
Modules: Connection, Data, Licenses, Loans, Request, Sites, Urls
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Sites
#all_sites, #sites_by_category, #sites_by_domain, #sites_by_keyword, #sites_by_master_term
Methods included from Licenses
#business_type_state, #business_type_state_city, #business_type_state_county, #business_type_zip, #by_business_type, #by_category, #by_state
Methods included from Loans
#loan_grants_by_federal, #loan_grants_by_federal_state, #loan_grants_by_industry, #loan_grants_by_industry_specialty, #loan_grants_by_specialty, #loan_grants_by_state, #loan_grants_by_state_industry, #loan_grants_by_state_industry_specialty, #loan_grants_by_state_specialty
Methods included from Urls
#all_city_primary_urls_in_state, #all_county_primary_urls_in_state, #all_primary_urls_for_county, #all_primary_urls_in_state, #all_urls_city, #all_urls_city_county, #all_urls_county, #all_urls_specific_city, #all_urls_specific_county, #primary_url_for_city
Methods included from Data
#data_city, #data_city_county, #data_county, #data_specific_city, #data_specific_county
Methods included from Request
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
13 14 15 16 17 18 |
# File 'lib/sba/client.rb', line 13 def initialize(={}) = SBA..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |