Exception: Guides::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/guides.rb

Direct Known Subclasses

FormatError

Class Method Summary collapse

Class Method Details

.status_code(code = nil) ⇒ Object


11
12
13
# File 'lib/guides.rb', line 11

def self.status_code(code = nil)
  define_method(:status_code) { code }
end