Sha256: 84e09c0108e6e2f6f503bad9f8ddf8e00f992e7554610c6701f1ce4f53015e60
Contents?: true
Size: 1.54 KB
Versions: 7
Compression:
Stored size: 1.54 KB
Contents
=begin #validateapi #The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API. OpenAPI spec version: v1 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: unset =end require 'spec_helper' require 'json' # Unit tests for CloudmersiveValidateApiClient::IPAddressApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'IPAddressApi' do before do # run before each test @instance = CloudmersiveValidateApiClient::IPAddressApi.new end after do # run after each test end describe 'test an instance of IPAddressApi' do it 'should create an instance of IPAddressApi' do expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::IPAddressApi) end end # unit tests for i_p_address_post # Geolocate an IP address # Identify an IP address Country, State/Provence, City, Zip/Postal Code, etc. Useful for security and UX applications. # @param value IP address to geolocate, e.g. \"55.55.55.55\". The input is a string so be sure to enclose it in double-quotes. # @param [Hash] opts the optional parameters # @return [GeolocateResponse] describe 'i_p_address_post test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end
Version data entries
7 entries across 7 versions & 1 rubygems