class EStat::Client
Public Class Methods
new(options = {})
click to toggle source
# File lib/e-stat/client.rb, line 10 def initialize(options = {}) options = EStat.options.merge(options) Configuration::OPTIONS_KEYS.each do |key| send("#{key}=", options[key]) end end
Public Instance Methods
endpoint()
click to toggle source
# File lib/e-stat/client.rb, line 21 def endpoint return base_url if format.nil? "#{base_url}/#{format}" end