Sha256: 6182dc3e149bd2199c6b79f2db83bf45b502bec9c3a5459044b5ef78b880ec2d
Contents?: true
Size: 1.78 KB
Versions: 21
Compression:
Stored size: 1.78 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.7 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.3.0 =end require 'spec_helper' require 'json' require 'date' # Unit tests for FattureInCloud_Ruby_Sdk::ModifySupplierResponse # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe FattureInCloud_Ruby_Sdk::ModifySupplierResponse do instance = FattureInCloud_Ruby_Sdk::ModifySupplierResponse.new instance.data = { id: 12345, code: "AE86", name: "Mario Rossi S.R.L.", type: "company", first_name: "Mario", last_name: "Rossi", contact_person: "", vat_number: "111222333", tax_code: "111122233", address_street: "Corso Magellano, 46", address_postal_code: "20146", address_city: "Milano", address_province: "MI", address_extra: "", country: "Italia", email: "mario.rossi@example.com", certified_email: "mario.rossi@pec.example.com", phone: "1234567890", fax: "123456789", notes: "", created_at: "2021-15-08", updated_at: "2021-15-08" } describe 'test an instance of ModifySupplierResponse' do it 'should create an instance of ModifySupplierResponse' do expect(instance).to be_instance_of(FattureInCloud_Ruby_Sdk::ModifySupplierResponse) end end describe 'test attribute "data"' do it 'should work' do expect(instance.data).to be_a_kind_of(Object) end end end
Version data entries
21 entries across 21 versions & 1 rubygems