Sha256: fbacb167005b4eecc6926936be2e8a7c5be53b9305103e699728f23dfb875bb7

Contents?: true

Size: 1.81 KB

Versions: 16

Compression:

Stored size: 1.81 KB

Contents

=begin
#MoneyKit API

#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: 0.1.0

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 7.1.0

=end

require 'spec_helper'
require 'json'

# Unit tests for MoneyKit::ProductsApi
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'ProductsApi' do
  before do
    # run before each test
    @api_instance = MoneyKit::ProductsApi.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of ProductsApi' do
    it 'should create an instance of ProductsApi' do
      expect(@api_instance).to be_instance_of(MoneyKit::ProductsApi)
    end
  end

  # unit tests for refresh_products
  # /links/{id}/products
  # Requests an update of the provided products for the link.     This is an asynchronous operation. The response will be a 202 Accepted if the request was successful.     Refreshes are subject to rate limiting.     <br><br>     <b>Rate Limiting</b><br>     <ul>         <li>1 refresh per link per hour for account data</li>         <li>1 refresh per link per hour for transaction data</li>         <li>1 refresh per link per day for account numbers</li>         <li>1 refresh per link per day for identity data</li>     </ul>
  # @param id The unique ID for this link.
  # @param refresh_products_request 
  # @param [Hash] opts the optional parameters
  # @option opts [String] :moneykit_version 
  # @return [nil]
  describe 'refresh_products test' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
moneykit-0.1.15 spec/api/products_api_spec.rb
moneykit-0.1.14 spec/api/products_api_spec.rb
moneykit-0.1.13 spec/api/products_api_spec.rb
moneykit-0.1.12 spec/api/products_api_spec.rb
moneykit-0.1.11 spec/api/products_api_spec.rb
moneykit-0.1.10 spec/api/products_api_spec.rb
moneykit-0.1.9 spec/api/products_api_spec.rb
moneykit-0.1.6 spec/api/products_api_spec.rb
moneykit-0.1.5 spec/api/products_api_spec.rb
moneykit-0.1.4 spec/api/products_api_spec.rb
moneykit-0.1.3 spec/api/products_api_spec.rb
moneykit-0.1.2 spec/api/products_api_spec.rb
moneykit-0.1.1 spec/api/products_api_spec.rb
moneykit-0.1.0 spec/api/products_api_spec.rb
moneykit-0.1.0.alpha.2 spec/api/products_api_spec.rb
moneykit-0.1.0.alpha.1 spec/api/products_api_spec.rb