Sha256: 3803f3f0e5a948c9e58e9dd06564cfcc2f6c1c648d9e482d85fd2c9a73dd348f

Contents?: true

Size: 1.58 KB

Versions: 5

Compression:

Stored size: 1.58 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: 2.3.1

=end

require 'spec_helper'
require 'json'

# Unit tests for CloudmersiveValidateApiClient::PhoneNumberApi
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'PhoneNumberApi' do
  before do
    # run before each test
    @instance = CloudmersiveValidateApiClient::PhoneNumberApi.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of PhoneNumberApi' do
    it 'should create an instance of PhoneNumberApi' do
      expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::PhoneNumberApi)
    end
  end

  # unit tests for phone_number_syntax_only
  # Validate phone number (basic)
  # Validate a phone number by analyzing the syntax
  # @param value Phone number to validate in a PhoneNumberValidateRequest object.  Try a phone number such as \"1.800.463.3339\", and either leave DefaultCountryCode blank or use \"US\".
  # @param [Hash] opts the optional parameters
  # @return [PhoneNumberValidationResponse]
  describe 'phone_number_syntax_only 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

5 entries across 5 versions & 1 rubygems

Version Path
cloudmersive-validate-api-client-1.4.2 ./spec/api/phone_number_api_spec.rb
cloudmersive-validate-api-client-1.4.1 ./spec/api/phone_number_api_spec.rb
cloudmersive-validate-api-client-1.4.0 ./spec/api/phone_number_api_spec.rb
cloudmersive-validate-api-client-1.3.9 ./spec/api/phone_number_api_spec.rb
cloudmersive-validate-api-client-1.3.7 ./spec/api/phone_number_api_spec.rb