Exception: Ubalo::BaseError

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

Direct Known Subclasses

Error

Class Method Summary collapse

Class Method Details

.status_code(code) ⇒ Object



20
21
22
# File 'lib/ubalo.rb', line 20

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