Module: Ecfr::DefaultStatusSetup
- Included in:
- AdminService::Status, Ecfr::DiffService::Status, OfrProfileService::Status, RendererService::Status, SearchService::Status, SubscriptionsService::Status, VersionerService::Status
- Defined in:
- lib/ecfr/default_status_setup.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/ecfr/default_status_setup.rb', line 33 def self.included(base) base.instance_eval do attribute :checks attribute :status end base.extend(ClassMethods) end |
Instance Method Details
#status_code ⇒ Object
42 43 44 |
# File 'lib/ecfr/default_status_setup.rb', line 42 def status_code response_status end |