docs/ForexApi.md in intrinio-sdk-3.1.0 vs docs/ForexApi.md in intrinio-sdk-3.2.0

- old
+ new

@@ -28,11 +28,11 @@ [//]: # (DOCUMENT_LINK:ForexApi.md#get_forex_currencies) ## **get_forex_currencies** -[**View Intrinio API Documentation**](https://docs.intrinio.com/documentation/api_v2/get_forex_currencies_v2) +[**View Intrinio API Documentation**](https://docs.intrinio.com/documentation/ruby/get_forex_currencies_v2) [//]: # (START_OVERVIEW) > ApiResponseForexCurrencies get_forex_currencies @@ -48,21 +48,22 @@ [//]: # (START_CODE_EXAMPLE) ```ruby # Load the gem require 'intrinio-sdk' +require 'pp' # Setup authorization Intrinio.configure do |config| config.api_key['api_key'] = 'YOUR_API_KEY' end forex_api = Intrinio::ForexApi.new begin result = forex_api.get_forex_currencies - p result + pp result rescue Intrinio::ApiError => e puts "Exception when calling ForexApi->get_forex_currencies: #{e}" end ``` @@ -104,11 +105,11 @@ [//]: # (DOCUMENT_LINK:ForexApi.md#get_forex_pairs) ## **get_forex_pairs** -[**View Intrinio API Documentation**](https://docs.intrinio.com/documentation/api_v2/get_forex_pairs_v2) +[**View Intrinio API Documentation**](https://docs.intrinio.com/documentation/ruby/get_forex_pairs_v2) [//]: # (START_OVERVIEW) > ApiResponseForexPairs get_forex_pairs @@ -124,21 +125,22 @@ [//]: # (START_CODE_EXAMPLE) ```ruby # Load the gem require 'intrinio-sdk' +require 'pp' # Setup authorization Intrinio.configure do |config| config.api_key['api_key'] = 'YOUR_API_KEY' end forex_api = Intrinio::ForexApi.new begin result = forex_api.get_forex_pairs - p result + pp result rescue Intrinio::ApiError => e puts "Exception when calling ForexApi->get_forex_pairs: #{e}" end ``` @@ -180,11 +182,11 @@ [//]: # (DOCUMENT_LINK:ForexApi.md#get_forex_prices) ## **get_forex_prices** -[**View Intrinio API Documentation**](https://docs.intrinio.com/documentation/api_v2/get_forex_prices_v2) +[**View Intrinio API Documentation**](https://docs.intrinio.com/documentation/ruby/get_forex_prices_v2) [//]: # (START_OVERVIEW) > ApiResponseForexPrices get_forex_prices(pair, timeframe, opts) @@ -200,10 +202,11 @@ [//]: # (START_CODE_EXAMPLE) ```ruby # Load the gem require 'intrinio-sdk' +require 'pp' # Setup authorization Intrinio.configure do |config| config.api_key['api_key'] = 'YOUR_API_KEY' end @@ -224,10 +227,10 @@ next_page: nil # String | Gets the next page of data from a previous API call } begin result = forex_api.get_forex_prices(pair, timeframe, opts) - p result + pp result rescue Intrinio::ApiError => e puts "Exception when calling ForexApi->get_forex_prices: #{e}" end ```