Sha256: cc7395b94d585c4c1bcb0ff2c4032258a80650e48c31a3442cda070ca0e5d05f

Contents?: true

Size: 1.55 KB

Versions: 7

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::ListWebhooksSubscriptionsResponse
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe FattureInCloud_Ruby_Sdk::ListWebhooksSubscriptionsResponse do
  instance = FattureInCloud_Ruby_Sdk::ListWebhooksSubscriptionsResponse.new
  instance.data = [
      {
      id: 'SUB123',
      sink: 'https://endpoint.test',
      verified: true,
      types: ['it.fattureincloud.webhooks.cashbook.create']
    },
    {
      id: 'SUB1234',
      sink: 'https://endpoint.test',
      verified: true,
      types: ['it.fattureincloud.cashbook.update']
    },
  ]
  describe 'test an instance of ListWebhooksSubscriptionsResponse' do
    it 'should create an instance of ListWebhooksSubscriptionsResponse' do
      expect(instance).to be_instance_of(FattureInCloud_Ruby_Sdk::ListWebhooksSubscriptionsResponse)
    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

7 entries across 7 versions & 1 rubygems

Version Path
fattureincloud_ruby_sdk-2.1.1 spec/models/list_webhooks_subscriptions_response_spec.rb
fattureincloud_ruby_sdk-2.1.0 spec/models/list_webhooks_subscriptions_response_spec.rb
fattureincloud_ruby_sdk-2.0.20 spec/models/list_webhooks_subscriptions_response_spec.rb
fattureincloud_ruby_sdk-2.0.19 spec/models/list_webhooks_subscriptions_response_spec.rb
fattureincloud_ruby_sdk-2.0.18 spec/models/list_webhooks_subscriptions_response_spec.rb
fattureincloud_ruby_sdk-2.0.17 spec/models/list_webhooks_subscriptions_response_spec.rb
fattureincloud_ruby_sdk-2.0.16 spec/models/list_webhooks_subscriptions_response_spec.rb