Sha256: f49e5b1d7937c0f8b59fcb06bbe0764933902586a778d4364e363782c3a091b7
Contents?: true
Size: 737 Bytes
Versions: 13
Compression:
Stored size: 737 Bytes
Contents
require 'raven/error' module Raven module Transports class Transport attr_accessor :configuration def initialize(configuration) @configuration = configuration end def send(auth_header, data, options = {}) raise Error.new('Abstract method not implemented') end protected def verify_configuration raise Error.new('No server specified') unless self.configuration.server raise Error.new('No public key specified') unless self.configuration.public_key raise Error.new('No secret key specified') unless self.configuration.secret_key raise Error.new('No project ID specified') unless self.configuration.project_id end end end end
Version data entries
13 entries across 13 versions & 2 rubygems