Sha256: f8cb8586239e3a1d8fc0abcf9b5aecc85a9b36cfb67b36c6a9b6527a51a6628c
Contents?: true
Size: 1.89 KB
Versions: 21
Compression:
Stored size: 1.89 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.4.14 =end require 'spec_helper' require 'json' # Unit tests for CloudmersiveValidateApiClient::VatApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'VatApi' do before do # run before each test @instance = CloudmersiveValidateApiClient::VatApi.new end after do # run after each test end describe 'test an instance of VatApi' do it 'should create an instance of VatApi' do expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::VatApi) end end # unit tests for vat_vat_lookup # Validate a VAT number # Checks if a VAT code is valid, and if it is, returns more information about it. The first two letters of the VAT number must be letters that indicate the country, such as LU20260743. Possible country codes include Austria (AT), Belgium (BE), Bulgaria (BG), Cyprus (CY), Czech Republic (CZ), Germany (DE), Denmark (DK), Estonia (EE), Greece (EL), Spain (ES), Finland (FI), France (FR), United Kingdom (GB), Croatia (HR), Hungary (HU), Ireland (IE), Italy (IT), Lithuania (LT), Luxembourg (LU), Latvia (LV), Malta (MT), The Netherlands (NL), Poland (PL), Portugal (PT), Romania (RO), Sweden (SE), Slovenia (SI), Slovakia (SK). # @param input Input VAT code # @param [Hash] opts the optional parameters # @return [VatLookupResponse] describe 'vat_vat_lookup 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
21 entries across 21 versions & 1 rubygems