Sha256: 53ce22c6092ae6a13f1e70747a0ecd1b3a3c65574b7ca29b2b244e365cace149

Contents?: true

Size: 1.68 KB

Versions: 7

Compression:

Stored size: 1.68 KB

Contents

=begin
#Sematext Cloud API

#API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`.

OpenAPI spec version: v3

Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 2.4.12

=end

require 'spec_helper'
require 'json'

# Unit tests for SematextCloud::SubscriptionsApi
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'SubscriptionsApi' do
  before do
    # run before each test
    @instance = SematextCloud::SubscriptionsApi.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of SubscriptionsApi' do
    it 'should create an instance of SubscriptionsApi' do
      expect(@instance).to be_instance_of(SematextCloud::SubscriptionsApi)
    end
  end

  # unit tests for list_using_get1
  # Get subscriptions for an app
  # @param app_id appId
  # @param [Hash] opts the optional parameters
  # @return [GenericApiResponse]
  describe 'list_using_get1 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 send_report_using_post
  # Trigger emailing of report for an app
  # @param app_id appId
  # @param email_dto emailDto
  # @param [Hash] opts the optional parameters
  # @return [GenericApiResponse]
  describe 'send_report_using_post test' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
SematextCloud-0.2.0 spec/api/subscriptions_api_spec.rb
SematextCloud-0.1.5 spec/api/subscriptions_api_spec.rb
SematextCloud-0.1.4 spec/api/subscriptions_api_spec.rb
SematextCloud-0.1.3 spec/api/subscriptions_api_spec.rb
SematextCloud-0.1.2 spec/api/subscriptions_api_spec.rb
SematextCloud-0.1.1 spec/api/subscriptions_api_spec.rb
SematextCloud-0.1.0 spec/api/subscriptions_api_spec.rb