swagger_client

SwaggerClient - the Ruby gem for the Live Validation Service Client

Client that can be used to access Live Validation Service.

This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build swagger_client.gemspec

Then either install the gem locally:

gem install ./swagger_client-1.0.0.gem

(for development, run gem install --dev ./swagger_client-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 'swagger_client', '~> 1.0.0'

Install from Git

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

gem 'swagger_client', :git => 'https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO.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 'swagger_client'

api_instance = SwaggerClient::LiveValidationApi.new

live_validation_parameter = SwaggerClient::LiveValidationParameter.new # LiveValidationParameter | Live Validation Parameter


begin
  result = api_instance.tools_live_validation_prod_validate(live_validation_parameter)
  p result
rescue SwaggerClient::ApiError => e
  puts "Exception when calling LiveValidationApi->tools_live_validation_prod_validate: #{e}"
end

Documentation for API Endpoints

All URIs are relative to http://localhost:5002/api

Class Method HTTP request Description
SwaggerClient::LiveValidationApi tools_live_validation_prod_validate POST /prod/validate
SwaggerClient::LiveValidationApi tools_live_validation_prod_white_list GET /prod/whitelist
SwaggerClient::LiveValidationApi tools_live_validation_validate POST /validate
SwaggerClient::LiveValidationApi tools_live_validation_white_list GET /whitelist
SwaggerClient::ProdValidateApi tools_live_validation_prod_validate POST /prod/validate
SwaggerClient::ValidateApi tools_live_validation_validate POST /validate
SwaggerClient::WhitelistApi tools_live_validation_prod_white_list GET /prod/whitelist
SwaggerClient::WhitelistApi tools_live_validation_white_list GET /whitelist

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.