Sha256: 81fc1a41b9c7fa75709e0b7229d5cb6631f29af6df2dbe8c1479c3d521b56a57
Contents?: true
Size: 1.48 KB
Versions: 10
Compression:
Stored size: 1.48 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::CreatePaymentMethodResponse # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe FattureInCloud_Ruby_Sdk::CreatePaymentMethodResponse do instance = FattureInCloud_Ruby_Sdk::CreatePaymentMethodResponse.new instance.data = { id: 386683, name: "Bonifico bancario", is_default: true, type: "standard", details: [ { title: "Banca", description: "Sao Paulo" } ], default_payment_account: { id: 12345, name: "conto banca SP" } } describe 'test an instance of CreatePaymentMethodResponse' do it 'should create an instance of CreatePaymentMethodResponse' do expect(instance).to be_instance_of(FattureInCloud_Ruby_Sdk::CreatePaymentMethodResponse) 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
10 entries across 10 versions & 1 rubygems