module Tapbot::Configuration

Constants

API_VERSION
BASE_URI
USER_AGENT
VALID_OPTIONS_KEYS

Public Instance Methods

configure() { |self| ... } click to toggle source
# File lib/tapbot/configuration.rb, line 12
def configure
  yield self
end
options() click to toggle source
# File lib/tapbot/configuration.rb, line 16
def options
  VALID_OPTIONS_KEYS.inject({}) do |option, key|
    option.merge!(key => send(key))
  end
end