Module: SBA::Client::Loans

Includes:
Connection
Included in:
SBA::Client
Defined in:
lib/sba/client/loans.rb

Instance Method Summary collapse

Instance Method Details

#loan_grants_by_federal(options = {}) ⇒ Hash

Returns financing programs available from Federal government agencies and select non-profit organizations nationwide.

Examples:

SBA.loan_grants_by_federal   

Parameters:

  • options (Hash) (defaults to: {})

    A customizable set of options.

Returns:

  • (Hash)

See Also:



16
17
18
# File 'lib/sba/client/loans.rb', line 16

def loan_grants_by_federal(options={})
  response = get("loans_grants/federal.json", options)
end

#loan_grants_by_federal_state(state, options = {}) ⇒ Hash

Returns all small business financing programs sponsored by federal and state government agencies and selected non-profit and commercial organizations.

Examples:

SBA.loan_grants_by_federal_state("ca")

Parameters:

  • state (String)

    input the two leter postal code for the state abbreviation

  • options (Hash) (defaults to: {})

    A customizable set of options.

Returns:

  • (Hash)

See Also:



40
41
42
# File 'lib/sba/client/loans.rb', line 40

def loan_grants_by_federal_state(state, options={})
  response = get("loans_grants/federal_and_state_financing_for/#{state}.json", options)
end

#loan_grants_by_industry(industry, options = {}) ⇒ Hash

Returns all small business financing programs for a specific industry in all 54 states and territories (when available).

Examples:

SBA.loan_grants_by_industry("Technology")

Parameters:

  • industry (String)

    input one of the standard industry values: Agriculture,Child Care,Environmental Management,Health Care,Manufacturing,Technology,Tourism

  • options (Hash) (defaults to: {})

    A customizable set of options.

Returns:

  • (Hash)

See Also:



52
53
54
# File 'lib/sba/client/loans.rb', line 52

def loan_grants_by_industry(industry, options={})
  response = get("loans_grants/nil/for_profit/#{industry}/nil.json", options)
end

#loan_grants_by_industry_specialty(industry, specialty, options = {}) ⇒ Hash

Returns financing programs for specific industries AND specific business groups (e.g., women, veterans, minorities, etc.); or business activities (e.g., export, energy efficiency, disaster assistance, etc.).

Examples:

SBA.loan_grants_by_industry_specialty("technology", "contractor")
SBA.loan_grants_by_industry_specialty("technology, "general_purpose-rural")      

Parameters:

  • industry (String)

    input one or more of the standard industry values

  • specialty (String)

    input one or more of the stanard industry values

  • options (Hash) (defaults to: {})

    A customizable set of options.

Returns:

  • (Hash)

See Also:



79
80
81
# File 'lib/sba/client/loans.rb', line 79

def loan_grants_by_industry_specialty(industry, specialty, options={})
  response = get("loans_grants/nil/for_profit/#{industry}/#{specialty}.json", options)
end

#loan_grants_by_specialty(specialty, options = {}) ⇒ Hash

Returns small business special financing programs for certain business owner groups (e.g., women, veterans, minorities, etc.); or business activities (e.g., export, energy efficiency, disaster assistance, etc.).

Examples:

SBA.loan_grants_by_specialty("general_purpose")
SBA.loan_grants_by_specialty("general_purpose-rural")

Parameters:

  • industry (String)

    input one or more of the standard industry values

  • options (Hash) (defaults to: {})

    A customizable set of options.

Returns:

  • (Hash)

See Also:



65
66
67
# File 'lib/sba/client/loans.rb', line 65

def loan_grants_by_specialty(specialty, options={})
  response = get("loans_grants/nil/for_profit/nil/#{specialty}.json", options)
end

#loan_grants_by_state(state, options = {}) ⇒ Hash

Returns all small business financing programs sponsored by state government agencies and select non-profit and commercial organizations.

Examples:

SBA.loan_grants_by_state("ca")     

Parameters:

  • state (String)

    input the two leter postal code for the state abbreviation

  • options (Hash) (defaults to: {})

    A customizable set of options.

Returns:

  • (Hash)

See Also:



28
29
30
# File 'lib/sba/client/loans.rb', line 28

def loan_grants_by_state(state, options={})
  response = get("loans_grants/state_financing_for/#{state}.json", options)
end

#loan_grants_by_state_industry(state, industry, options = {}) ⇒ Hash

Returns all small business financing programs for a specific industry in a specific state.

Examples:

SBA.loan_grants_by_state_industry("ca", "technology")   

Parameters:

  • state (String)

    input the two leterl postal code for state abbreviation

  • industry (String)

    input one or more of the standard industry values

  • options (Hash) (defaults to: {})

    A customizable set of options.

Returns:

  • (Hash)

See Also:



92
93
94
# File 'lib/sba/client/loans.rb', line 92

def loan_grants_by_state_industry(state, industry, options={})
  response = get("loans_grants/#{state}/for_profit/#{industry}/nil.json", options)
end

#loan_grants_by_state_industry_specialty(state, industry, specialty, options = {}) ⇒ Hash

Returns state programs by industry and specific business groups or specialized business activities.

Examples:

SBA.loan_grants_by_state_industry_specialty("ca","tecnology","development")

Parameters:

  • state (String)

    input the two leterl postal code for state abbreviation

  • industry (String)

    input one or more of the standard industry values

  • specialty (String)

    input one or more of the stanard industry values

  • options (Hash) (defaults to: {})

    A customizable set of options.

Returns:

  • (Hash)

See Also:



119
120
121
# File 'lib/sba/client/loans.rb', line 119

def loan_grants_by_state_industry_specialty(state, industry, specialty, options={})
  response = get("loans_grants/#{state}/for_profit/#{industry}/#{specialty}.json", options)
end

#loan_grants_by_state_specialty(state, specialty, options = {}) ⇒ Hash

Returns state programs for specific business groups or specialized business activities.

Examples:

SBA.loan_grants_by_state_specialty("ca", "development")

Parameters:

  • state (String)

    input the two leterl postal code for state abbreviation

  • specialty (String)

    input one or more of the stanard industry values

  • options (Hash) (defaults to: {})

    A customizable set of options.

Returns:

  • (Hash)

See Also:



105
106
107
# File 'lib/sba/client/loans.rb', line 105

def loan_grants_by_state_specialty(state, specialty, options={})
  response = get("loans_grants/#{state}/for_profit/nil/#{specialty}.json", options)
end