module Metric # Used for configuration of the Metric gem. The only required option is # api_key, secret_key is only used if you want to pull data out from the API # and metric_host is used for local debugging purposes. class Configuration # Key used to identify the website attr_accessor :api_key # Allows setting a different host to send data to, used for development purposes attr_accessor :metric_host # Used to generate a hash for getting data out attr_accessor :secret_key # Sets defaults def initialize @metric_host = "https://api.metric.io" end end end