Skip to content

ilozka/pace_funding

 
 

Repository files navigation

pace_funding

PaceFunding - the Ruby gem for the PACE Funding API

No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build date: 2016-11-19T23:41:03.391-08:00
  • Build package: class io.swagger.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build pace_funding.gemspec

Then either install the gem locally:

gem install ./pace_funding-1.0.0.gem

(for development, run gem install --dev ./pace_funding-1.0.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'pace_funding', '~> 1.0.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:

gem 'pace_funding', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'pace_funding'

api_instance = PaceFunding::AddressEligibilityApi.new

auth_key = "auth_key_example" # String | Auth Key

contractor_code = "contractor_code_example" # String | Contractor Code

salesperson_code = "salesperson_code_example" # String | Salesperson Code

address = "address_example" # String | Eligible Address

zipcode = "zipcode_example" # String | Zipcode


begin
  #Check address eligibility.
  result = api_instance.check_address_eligibility_post(auth_key, contractor_code, salesperson_code, address, zipcode)
  p result
rescue PaceFunding::ApiError => e
  puts "Exception when calling AddressEligibilityApi->check_address_eligibility_post: #{e}"
end

Documentation for API Endpoints

All URIs are relative to http://test.pacepowertools.com/webservices

Class Method HTTP request Description
PaceFunding::AddressEligibilityApi check_address_eligibility_post POST /check-address-eligibility Check address eligibility.
PaceFunding::ContractApi send_contract_post POST /send-contract
PaceFunding::CreateContractorSalespersonApi add_contractor_post POST /add-contractor
PaceFunding::CreateContractorSalespersonApi add_salesperson_post POST /add-salesperson
PaceFunding::CreditApplicationApi send_credit_application_post POST /send-credit-application Send Credit Application
PaceFunding::PaymentCalculateApi getting_calculate_payment_post POST /getting-calculate-payment Calculate Payment
PaceFunding::PostApplicationApi post_application_post POST /post-application Filled In Credit App
PaceFunding::PostProjectCancellationFormApi post_project_cancellation_post POST /post-project-cancellation Post Project Cancellation Form
PaceFunding::PostProjectFileApi post_project_file_post POST /post-project-file Post Project File
PaceFunding::PostUnderwritingResultApi post_fni_result_post POST /post-fni-result Post Underwriting Result
PaceFunding::ProjectCurrentStatusApi check_project_status_post POST /check-project-status
PaceFunding::SendCompletionCertificateApi send_completion_certificate_post POST /send-completion-certificate Send Completion Certificate

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 99.3%
  • Shell 0.7%