Sha256: 4727389fe7dd98f459dcc8a3c8aab8e0f5327d8d36d819a2de3b9616e0228222
Contents?: true
Size: 1.87 KB
Versions: 17
Compression:
Stored size: 1.87 KB
Contents
=begin #Fatture in Cloud API v2 - API Reference #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. The version of the OpenAPI document: 2.0.11 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.4.0 =end require 'spec_helper' require 'json' require 'date' # Unit tests for FattureInCloud_Ruby_Sdk::EInvoiceRejectionReason # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe FattureInCloud_Ruby_Sdk::EInvoiceRejectionReason do instance = FattureInCloud_Ruby_Sdk::EInvoiceRejectionReason.new instance.reason = "invalid date" instance.ei_status = "rejected" instance.solution = "set a valid date" instance.code = "c01" instance.date = Date.new(2022, 2, 2) describe 'test an instance of EInvoiceRejectionReason' do it 'should create an instance of EInvoiceRejectionReason' do expect(instance).to be_instance_of(FattureInCloud_Ruby_Sdk::EInvoiceRejectionReason) end end describe 'test attribute "reason"' do it 'should work' do expect(instance.reason).to be_a_kind_of(String) end end describe 'test attribute "ei_status"' do it 'should work' do expect(instance.ei_status).to be_a_kind_of(String) end end describe 'test attribute "solution"' do it 'should work' do expect(instance.solution).to be_a_kind_of(String) end end describe 'test attribute "code"' do it 'should work' do expect(instance.code).to be_a_kind_of(String) end end describe 'test attribute "date"' do it 'should work' do expect(instance.date).to be_a_kind_of(Date) end end end
Version data entries
17 entries across 17 versions & 1 rubygems