Exception: Jammit::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Jammit::Error
- Defined in:
- lib/jammit-core.rb
Direct Known Subclasses
AlreadyConfigured, AppNotFound, ConfigurationNotFound, OutputNotWritable, PackageNotFound
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.status_code(code = nil) ⇒ Object
38 39 40 41 |
# File 'lib/jammit-core.rb', line 38 def self.status_code(code = nil) return @code unless code @code = code end |
Instance Method Details
#status_code ⇒ Object
43 44 45 |
# File 'lib/jammit-core.rb', line 43 def status_code self.class.status_code end |