Class: ExchangerateHost::Endpoints::LatestRates
- Defined in:
- lib/exchangerate_host/endpoints/latest_rates.rb
Constant Summary
Constants included from Validation
Validation::ACCEPTABLE_DATE_FORMAT, Validation::ALL_OPTIONS_WITH_VALIDATE_METHODS, Validation::VALID_FORMAT, Validation::VALID_SYMBOLS
Class Method Summary collapse
Methods inherited from Base
available_options, query_options, request, required_options
Methods included from Validation
#is_positive_integer?, #non_subset_values, #to_upcase_csv, #validate, #validate_date, #validate_option_values, #validate_options, #validate_required_options, #validate_subset, #validate_with_type
Class Method Details
.endpoint_path ⇒ Object
10 11 12 |
# File 'lib/exchangerate_host/endpoints/latest_rates.rb', line 10 def endpoint_path 'latest' end |
.optional_options ⇒ Object
6 7 8 |
# File 'lib/exchangerate_host/endpoints/latest_rates.rb', line 6 def [:base, :symbols, :places, :amount, :format] end |