class Bugsnag::EndpointValidator::Result
@api private
Constants
- INVALID_NOTIFY_URL
- INVALID_SESSION_URL
- INVALID_URLS
- MISSING_NOTIFY_URL
- MISSING_SESSION_URL
- MISSING_URLS
-
rubocop:disable Layout/LineLength
Attributes
rubocop:enable Layout/LineLength
Public Class Methods
Source
# File lib/bugsnag/endpoint_validator.rb, line 71 def self.invalid_notify new(false, false, INVALID_NOTIFY_URL) end
Source
# File lib/bugsnag/endpoint_validator.rb, line 75 def self.invalid_session new(false, true, INVALID_SESSION_URL) end
Source
# File lib/bugsnag/endpoint_validator.rb, line 67 def self.invalid_urls new(false, false, INVALID_URLS) end
Source
# File lib/bugsnag/endpoint_validator.rb, line 59 def self.missing_notify new(false, false, MISSING_NOTIFY_URL) end
Source
# File lib/bugsnag/endpoint_validator.rb, line 63 def self.missing_session new(false, true, MISSING_SESSION_URL) end
Source
# File lib/bugsnag/endpoint_validator.rb, line 55 def self.missing_urls new(false, false, MISSING_URLS) end
Source
# File lib/bugsnag/endpoint_validator.rb, line 35 def initialize(valid, keep_events_enabled_for_backwards_compatibility = true, reason = nil) @valid = valid @keep_events_enabled_for_backwards_compatibility = keep_events_enabled_for_backwards_compatibility @reason = reason end
Source
# File lib/bugsnag/endpoint_validator.rb, line 51 def self.valid new(true) end
factory functions
Public Instance Methods
Source
# File lib/bugsnag/endpoint_validator.rb, line 45 def keep_events_enabled_for_backwards_compatibility? @keep_events_enabled_for_backwards_compatibility end