=begin #Subskribe API #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.41 =end require 'spec_helper' require 'json' # Unit tests for SubskribeDevClient::AttachmentsApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'AttachmentsApi' do before do # run before each test @instance = SubskribeDevClient::AttachmentsApi.new end after do # run after each test end describe 'test an instance of AttachmentsApi' do it 'should create an instance of AttachmentsApi' do expect(@instance).to be_instance_of(SubskribeDevClient::AttachmentsApi) end end # unit tests for add_attachment_to_account # Add an attachment # Attaches a document to the specified account. The post body should contain the body of the document that is to be attached. On success the Id of the attachment is returned. # @param account_id id of the account to attach the document to # @param [Hash] opts the optional parameters # @option opts [File] :file # @option opts [String] :file_name name to associate with the attachment # @option opts [String] :description description of the document # @option opts [Integer] :size size in bytes of the document # @option opts [String] :tag tag to apply to the attachment # @return [Attachment] describe 'add_attachment_to_account test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for delete_attachment_from_account # Delete an attachment # Unattaches and deletes the specified document # @param attachment_id id of the attachment # @param [Hash] opts the optional parameters # @return [nil] describe 'delete_attachment_from_account test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for get_attachment # Get attachment contents # Gets the contents of the specified attachment # @param attachment_id id of the attachment # @param [Hash] opts the optional parameters # @return [nil] describe 'get_attachment test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for list_account_attachments # Get attachments for an account # Lists all the documents attached to an account # @param account_id id of the attachment # @param [Hash] opts the optional parameters # @return [Array] describe 'list_account_attachments test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for modify_attachment # Update the details of an attachment # Updates the details of the specified document # @param [Hash] opts the optional parameters # @option opts [Attachment] :body json representing the attachment # @return [Attachment] describe 'modify_attachment test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end