class UsdaNdb::Configuration

Constants

DEFAULT_API_KEY
DEFAULT_ENDPOINT_BASE
DEFAULT_FORMAT

Attributes

api_key[RW]
endpoint_base[RW]
response_format[RW]

Public Class Methods

new() click to toggle source
# File lib/usda_ndb/configuration.rb, line 9
def initialize
  @api_key = DEFAULT_API_KEY
  @endpoint_base = DEFAULT_ENDPOINT_BASE
  @response_format = DEFAULT_FORMAT
end