Sha256: 463c2886088f8e9592b01e7f64a46e75ec060e3a61d054b6352d599c215e5649

Contents?: true

Size: 309 Bytes

Versions: 1

Compression:

Stored size: 309 Bytes

Contents

module Opsgenie
  module Heartbeat
    class<<self
      attr_accessor :configuration
    end
    def self.configure
      self.configuration ||= Config.new
      yield(configuration)
    end

    class Config
      attr_accessor :enabled, :api_key, :name_transformer, :logger, :raise_error
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opsgenie-heartbeat-0.1.0 lib/opsgenie/heartbeat/config.rb