class Tupplur::Error::RESTOperationNotAllowed

Public Class Methods

new(operation = 'unspecified') click to toggle source
# File lib/tupplur/errors.rb, line 10
def initialize(operation = 'unspecified')
  @operation = operation
end

Public Instance Methods

message() click to toggle source
# File lib/tupplur/errors.rb, line 6
def message
  "The #{@operation} REST operation is not allowed."
end