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
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'
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 using -I
as follows:
ruby -Ilib script.rb
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
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 |
- PaceFunding::AddressEligibilityResponse
- PaceFunding::ApiResponse
- PaceFunding::Model200
- PaceFunding::Model500
All endpoints do not require authorization.