Sha256: af4e54e76fcbe314abf05c26b448f1eef932871ff8df2856b4c5b5d7f861c2a6
Contents?: true
Size: 1.46 KB
Versions: 3
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.47.8 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
intrinio-sdk-6.26.5 | spec/configuration_spec.rb |
intrinio-sdk-6.26.4 | spec/configuration_spec.rb |
intrinio-sdk-6.26.3 | spec/configuration_spec.rb |