class RestMyCase::Context::Status

Public Class Methods

error_class() click to toggle source
# File lib/rest_my_case/context/status.rb, line 23
def self.error_class
  Errors::Status
end

Public Instance Methods

status() click to toggle source
# File lib/rest_my_case/context/status.rb, line 27
def status
  @status ||= StatusString.new 'ok'
end
status=(_) click to toggle source
# File lib/rest_my_case/context/status.rb, line 31
def status=(_)
  raise 'status is a reserved keyword which cannot be set'
end