class Operations::Errors::NotLoggedInError
Public Class Methods
new(operation=nil)
click to toggle source
Calls superclass method
# File lib/operations/errors/not_logged_in_error.rb, line 4 def initialize(operation=nil) operation_name = operation.nil? ? 'unknown' : (operation.description || operation.name) super("You must log in before running this action. Attempted operation `#{operation_name}'.") end