Sha256: 0e3ef8df794e37a0c990aaefe15263bd6c7cb0aede30a1a576daea996311892c
Contents?: true
Size: 1.55 KB
Versions: 1
Compression:
Stored size: 1.55 KB
Contents
=begin #Fatture in Cloud API v2 - API Reference #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.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.27 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.5.0 =end require 'spec_helper' require 'json' require 'date' # Unit tests for FattureInCloud_Ruby_Sdk::CreateWebhooksSubscriptionResponse # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe FattureInCloud_Ruby_Sdk::CreateWebhooksSubscriptionResponse do instance = FattureInCloud_Ruby_Sdk::CreateWebhooksSubscriptionResponse.new instance.data = { id: 'SUB123', sink: 'https://endpoint.test', verified: true, types: ['it.fattureincloud.cashbook.create'] } instance.warnings = ['error'] describe 'test an instance of CreateWebhooksSubscriptionResponse' do it 'should create an instance of CreateWebhooksSubscriptionResponse' do expect(instance).to be_instance_of(FattureInCloud_Ruby_Sdk::CreateWebhooksSubscriptionResponse) end end describe 'test attribute "data"' do it 'should work' do expect(instance.data).to be_a_kind_of(Object) end end describe 'test attribute "warnings"' do it 'should work' do expect(instance.warnings).to be_a_kind_of(Object) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fattureincloud_ruby_sdk-2.0.15 | spec/models/create_webhooks_subscription_response_spec.rb |