Module: RestMyCase::HttpStatus

Includes:
Status
Defined in:
lib/rest_my_case/http_status.rb

Class Method Summary collapse

Methods included from Status

#failure, #failure!, #status

Class Method Details

.included(parent_class) ⇒ Object



9
10
11
12
13
# File 'lib/rest_my_case/http_status.rb', line 9

def self.included(parent_class)
  return unless parent_class.respond_to? :trial_court

  parent_class.trial_court.context_class = Context::HttpStatus
end