class Exceptions::UnauthorizedApplication

Attributes

status[RW]

Public Instance Methods

error() click to toggle source

for standard errors this method build a hash @return [String] json string

# File lib/exceptions/unauthorized_application.rb, line 9
def error
        { 
                error: { 
                        message: self.object[:message]
                } 
        }
end
message() click to toggle source

return the error message @return [String]

# File lib/exceptions/unauthorized_application.rb, line 19
def message
        self.object[:message]
end