class Authenticate::Modules::MissingAttribute

Thrown if required attributes are missing.

Public Class Methods

new(attributes) click to toggle source
# File lib/authenticate/modules.rb, line 75
def initialize(attributes)
  @attributes = attributes
end

Public Instance Methods

message() click to toggle source
# File lib/authenticate/modules.rb, line 79
def message
  "Required attributes are missing on your user model: #{@attributes.join(', ')}"
end