module Quandl::Operations::Get

Public Instance Methods

get(id, options = {}) click to toggle source
# File lib/quandl/operations/get.rb, line 8
def get(id, options = {})
  _response, response_data = Quandl::Connection.request(:get, Quandl::Util.constructed_path(get_path, { id: id }.merge(options[:params] || {})), options)
  new(response_data[lookup_key.singularize])
end
get_path() click to toggle source

rubocop:disable Naming/AccessorMethodName

# File lib/quandl/operations/get.rb, line 14
def get_path
  default_path
end