Class: RestMyCase::Context::Status
- Defined in:
- lib/rest_my_case/context/status.rb
Direct Known Subclasses
Defined Under Namespace
Classes: StatusString
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
#errors, schema_validator_class, #to_hash, #valid?, #validate_schema, #values_at
Class Method Details
Instance Method Details
#status ⇒ Object
27 28 29 |
# File 'lib/rest_my_case/context/status.rb', line 27 def status @status ||= StatusString.new 'ok' end |
#status=(_) ⇒ Object
31 32 33 |
# File 'lib/rest_my_case/context/status.rb', line 31 def status=(_) raise 'status is a reserved keyword which cannot be set' end |