=begin
#Exchange Rates Realtime REST API

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

The version of the OpenAPI document: v1
Contact: support@apibricks.io
Generated by: https://openapi-generator.tech
Generator version: 7.14.0

=end

require 'spec_helper'
require 'json'

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

  after do
    # run after each test
  end

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

  # unit tests for get_specific_rate
  # Get specific rate
  # Retrieves the exchange rate for a specific base and quote asset at a given time or the current rate.              :::info If you are using an exchange rate for mission-critical operations, then for best reliability, you should measure the difference between current time and the time returned from the response to ensure that value of the difference between those meets your internal requirements. :::
  # @param asset_id_base Requested exchange rate base asset identifier (from the Metadata -&gt; Assets)
  # @param asset_id_quote Requested exchange rate quote asset identifier (from the Metadata -&gt; Assets)
  # @param [Hash] opts the optional parameters
  # @return [V1ExchangeRate]
  describe 'get_specific_rate test' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

  # unit tests for v1_exchangerate_asset_id_base_get
  # Get all current rates
  # Get the current exchange rate between requested asset and all other assets.              :::info If you are using an exchange rate for mission-critical operations, then for best reliability, you should measure the difference between current time and the time returned from the response to ensure that value of the difference between those meets your internal requirements. :::              :::info You can invert the rates by using Y &#x3D; 1 / X equation, for example BTC/USD &#x3D; 1 / (USD/BTC); :::
  # @param asset_id_base Requested exchange rates base asset identifier (from the Metadata -&gt; Assets)
  # @param [Hash] opts the optional parameters
  # @option opts [String] :filter_asset_id Comma or semicolon delimited asset identifiers used to filter response (optional)
  # @option opts [Boolean] :invert True will invert all the rates (optional, if true then rates will be calculated as &#x60;rate &#x3D; 1 / actual_rate&#x60; eg. &#x60;USD/BTC&#x60; as &#x60;BTC/USD&#x60;)
  # @return [V1ExchangeRates]
  describe 'v1_exchangerate_asset_id_base_get test' do
    it 'should work' do
      # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
    end
  end

end
