OpenApiIplocationClient - the Ruby gem for the OpenAPI Okta IP Ranges
OpenAPI specification and a set of generated API clients for Okta IP Ranges
This SDK is automatically generated by the OpenAPI Generator project:
- API version: 0.10.1-pre.0
- Package version: 0.10.1-pre.0
- Generator version: 7.9.0
- Build package: org.openapitools.codegen.languages.RubyClientCodegen For more information, please visit https://github.com/oapicf/openapi-okta-ip-ranges
To build the Ruby code into a gem:
gem build openapi_okta_ip_ranges.gemspec
Then either install the gem locally:
gem install ./openapi_okta_ip_ranges-0.10.1-pre.0.gem
(for development, run gem install --dev ./openapi_okta_ip_ranges-0.10.1-pre.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 'openapi_okta_ip_ranges', '~> 0.10.1-pre.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 'openapi_okta_ip_ranges', :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 'openapi_okta_ip_ranges'
api_instance = OpenApiIplocationClient::DefaultApi.new
begin
#Retrieve Okta IP ranges
result = api_instance.ip_ranges_json_get
p result
rescue OpenApiIplocationClient::ApiError => e
puts "Exception when calling DefaultApi->ip_ranges_json_get: #{e}"
end
All URIs are relative to https://s3.amazonaws.com/okta-ip-ranges
Class | Method | HTTP request | Description |
---|---|---|---|
OpenApiIplocationClient::DefaultApi | ip_ranges_json_get | GET /ip_ranges.json | Retrieve Okta IP ranges |
Endpoints do not require authorization.