Sha256: 0d8a59a24303cde524dcc51372f23a5e071fad0f3677e75f87695cfd7be11465
Contents?: true
Size: 616 Bytes
Versions: 2
Compression:
Stored size: 616 Bytes
Contents
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 = "http://api.metric.io" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
metric-0.0.7 | lib/metric/configuration.rb |
metric-0.0.6 | lib/metric/configuration.rb |