=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://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.2.0 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.3.0-SNAPSHOT =end require 'spec_helper' require 'json' # Unit tests for Intrinio::HistoricalDataApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'HistoricalDataApi' do before do # run before each test @instance = Intrinio::HistoricalDataApi.new end after do # run after each test end describe 'test an instance of HistoricalDataApi' do it 'should create an instance of HistoricalDataApi' do expect(@instance).to be_instance_of(Intrinio::HistoricalDataApi) end end # unit tests for get_historical_data # Historical Data # $$v2_historical_data_description$$ # @param identifier $$v2_historical_data_identifier_description$$ # @param tag $$v2_historical_data_item_description$$ # @param [Hash] opts the optional parameters # @option opts [String] :frequency Return historical data in the given frequency # @option opts [String] :type Filter by type, when applicable # @option opts [Date] :start_date Get historical data on or after this date # @option opts [Date] :end_date Get historical date on or before this date # @option opts [String] :sort_order Sort by date `asc` or `desc` # @option opts [Float] :page_size The number of results to return # @option opts [String] :next_page Gets the next page of data from a previous API call # @return [ApiResponseHistoricalData] describe 'get_historical_data test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end