Sha256: 63e9663f11156c3c10e0bd43d03b2be33b4101adde9da5563cdf2e6fdd3b5a51

Contents?: true

Size: 572 Bytes

Versions: 4

Compression:

Stored size: 572 Bytes

Contents

module Safely
  class Config

    # List of strategies to use
    attr_reader :strategies

    def initialize
      @strategies = [
        Safely::Strategy::Hoptoad,
        Safely::Strategy::Mail,
        Safely::Strategy::Log
      ]
    end

    def hoptoad_key
      $stderr.write "DEPRECATED: Call Safely::Strategy::Hoptoad.hoptoad_key"
      Safely::Strategy::Hoptoad.hoptoad_key
    end

    def hoptoad_key=( key )
      $stderr.write "DEPRECATED: Call Safely::Strategy::Hoptoad.hoptoad_key="
      Safely::Strategy::Hoptoad.hoptoad_key=( key )
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
safely-0.3.2 lib/safely/config.rb
safely-0.3.1 lib/safely/config.rb
safely-0.3.0 lib/safely/config.rb
safely-0.2.0 lib/safely/config.rb