Sha256: 3e256bc8cc7b27a15a280902935a7c7b9d2b5eee1a51ca46229ddef9ead9ec70

Contents?: true

Size: 325 Bytes

Versions: 6

Compression:

Stored size: 325 Bytes

Contents

module ActionMessenger

  class << self
    def configure
      yield config
    end

    def config
      @config ||= ActionMessenger::Config.new
    end
  end

  class Config
    include ActiveSupport::Configurable
    config_accessor :slack_api_token
    config_accessor :views_path
    config_accessor :logger
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
action_messenger-0.1.4 lib/action_messenger/config.rb
action_messenger-0.1.3 lib/action_messenger/config.rb
action_messenger-0.1.2 lib/action_messenger/config.rb
action_messenger-0.1.1 lib/action_messenger/config.rb
action_messenger-0.0.2 lib/action_messenger/config.rb
action_messenger-0.0.1 lib/action_messenger/config.rb