Sha256: 1feae1f14bdcbade547445f3945f8f7de358f16ad5c1990ba76655b18512c9cd
Contents?: true
Size: 1.46 KB
Versions: 1
Compression:
Stored size: 1.46 KB
Contents
=begin #Intrinio API #Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://docs.intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner. OpenAPI spec version: 2.27.5 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: unset =end require 'spec_helper' describe Intrinio::Configuration do let(:config) { Intrinio::Configuration.default } before(:each) do # uncomment below to setup host and base_path #require 'URI' #uri = URI.parse("https://api-v2.intrinio.com") #Intrinio.configure do |c| # c.host = uri.host # c.base_path = uri.path #end end describe '#base_url' do it 'should have the default value' do # uncomment below to test default value of the base path #expect(config.base_url).to eq("https://api-v2.intrinio.com") end it 'should remove trailing slashes' do [nil, '', '/', '//'].each do |base_path| config.base_path = base_path # uncomment below to test trailing slashes #expect(config.base_url).to eq("https://api-v2.intrinio.com") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
intrinio-sdk-5.20.0 | spec/configuration_spec.rb |