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
reason[R]
rubocop:enable Layout/LineLength
Public Class Methods
invalid_notify()
click to toggle source
# File lib/bugsnag/endpoint_validator.rb, line 71 def self.invalid_notify new(false, false, INVALID_NOTIFY_URL) end
invalid_session()
click to toggle source
# File lib/bugsnag/endpoint_validator.rb, line 75 def self.invalid_session new(false, true, INVALID_SESSION_URL) end
invalid_urls()
click to toggle source
# File lib/bugsnag/endpoint_validator.rb, line 67 def self.invalid_urls new(false, false, INVALID_URLS) end
missing_notify()
click to toggle source
# File lib/bugsnag/endpoint_validator.rb, line 59 def self.missing_notify new(false, false, MISSING_NOTIFY_URL) end
missing_session()
click to toggle source
# File lib/bugsnag/endpoint_validator.rb, line 63 def self.missing_session new(false, true, MISSING_SESSION_URL) end
missing_urls()
click to toggle source
# File lib/bugsnag/endpoint_validator.rb, line 55 def self.missing_urls new(false, false, MISSING_URLS) end
new(valid, keep_events_enabled_for_backwards_compatibility = true, reason = nil)
click to toggle 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
valid()
click to toggle source
factory functions
# File lib/bugsnag/endpoint_validator.rb, line 51 def self.valid new(true) end
Public Instance Methods
keep_events_enabled_for_backwards_compatibility?()
click to toggle source
# File lib/bugsnag/endpoint_validator.rb, line 45 def keep_events_enabled_for_backwards_compatibility? @keep_events_enabled_for_backwards_compatibility end
valid?()
click to toggle source
# File lib/bugsnag/endpoint_validator.rb, line 41 def valid? @valid end