Sha256: 90f6088dd3c8748c08f7688999a1db658409b6074adc62f25b59bf04fe3a36cf

Contents?: true

Size: 1.58 KB

Versions: 7

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: unset

=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

7 entries across 7 versions & 1 rubygems

Version Path
cloudmersive-validate-api-client-1.3.6 ./spec/api/phone_number_api_spec.rb
cloudmersive-validate-api-client-1.3.5 ./spec/api/phone_number_api_spec.rb
cloudmersive-validate-api-client-1.3.4 ./spec/api/phone_number_api_spec.rb
cloudmersive-validate-api-client-1.3.3 ./spec/api/phone_number_api_spec.rb
cloudmersive-validate-api-client-1.3.2 ./spec/api/phone_number_api_spec.rb
cloudmersive-validate-api-client-1.3.1 ./spec/api/phone_number_api_spec.rb
cloudmersive-validate-api-client-1.2.9 ./spec/api/phone_number_api_spec.rb