Sha256: fb1df7e8991debb09b31f2a199b69ea69612d27969176d301c57862cb625118d

Contents?: true

Size: 633 Bytes

Versions: 3

Compression:

Stored size: 633 Bytes

Contents

require 'active_support/notifications'

module Librato
  module Rails

    # defines basic context that all librato-rails subscribers will run in
    module Subscribers

      # make collector object directly available, it won't be changing
      def self.collector
        @collector ||= Librato.tracker.collector
      end

    end
  end
end

require_relative 'subscribers/cache'
require_relative 'subscribers/controller'
require_relative 'subscribers/render'
require_relative 'subscribers/sql'
require_relative 'subscribers/mail'

Librato::Rails::VersionSpecifier.supported(min: '4.2') do
  require_relative 'subscribers/job'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
librato-rails-1.2.0 lib/librato/rails/subscribers.rb
librato-rails-1.1.0 lib/librato/rails/subscribers.rb
librato-rails-1.0.0 lib/librato/rails/subscribers.rb