Module: CloudmersiveCurrencyApiClient
- Defined in:
- lib/cloudmersive-currency-api-client/version.rb,
lib/cloudmersive-currency-api-client.rb,
lib/cloudmersive-currency-api-client/api_error.rb,
lib/cloudmersive-currency-api-client/api_client.rb,
lib/cloudmersive-currency-api-client/configuration.rb,
lib/cloudmersive-currency-api-client/api/currency_exchange_api.rb,
lib/cloudmersive-currency-api-client/models/available_currency.rb,
lib/cloudmersive-currency-api-client/models/exchange_rate_result.rb,
lib/cloudmersive-currency-api-client/models/converted_currency_result.rb,
lib/cloudmersive-currency-api-client/models/available_currency_response.rb
Overview
#currencyapi
#The currency APIs help you retrieve exchange rates and convert prices between currencies easily.
OpenAPI spec version: v1
Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.14
Defined Under Namespace
Classes: ApiClient, ApiError, AvailableCurrency, AvailableCurrencyResponse, Configuration, ConvertedCurrencyResult, CurrencyExchangeApi, ExchangeRateResult
Constant Summary collapse
- VERSION =
'2.0.1'
Class Method Summary collapse
-
.configure ⇒ Object
Customize default settings for the SDK using block.
Class Method Details
.configure ⇒ Object
Customize default settings for the SDK using block.
CloudmersiveCurrencyApiClient.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
36 37 38 39 40 41 42 |
# File 'lib/cloudmersive-currency-api-client.rb', line 36 def configure if block_given? yield(Configuration.default) else Configuration.default end end |