Sha256: 8e7600166aaf7a22bd830c7414d688b5b14232e1270c15eb472c48a2e359981d
Contents?: true
Size: 439 Bytes
Versions: 8
Compression:
Stored size: 439 Bytes
Contents
module Appsignal class AuthCheck delegate :uri, :to => :transmitter attr_reader :config attr_accessor :transmitter ACTION = 'auth' def initialize(environment) @config = Appsignal::Config.new(Rails.root, environment).load end def perform self.transmitter = Appsignal::Transmitter.new( @config[:endpoint], ACTION, @config[:api_key] ) transmitter.transmit({}) end end end
Version data entries
8 entries across 8 versions & 1 rubygems