class ApiAuthenticator::InvalidTimeError

Attributes

actual_time[R]
lower_threshold[R]
upper_threshold[R]

Public Class Methods

new(upper_threshold, lower_threshold, actual_time) click to toggle source
# File lib/api_authenticator/errors.rb, line 8
def initialize(upper_threshold, lower_threshold, actual_time)
  @upper_threshold = upper_threshold
  @lower_threshold = lower_threshold
  @actual_time = actual_time
end

Public Instance Methods

constructed_message() click to toggle source
# File lib/api_authenticator/errors.rb, line 14
def constructed_message
  "Invalid Time Error: upper threshold: #{@upper_threshold} lower threshold: #{@lower_threshold} actual time: #{@actual_time}"
end