Class: Postwill::Response
- Inherits:
-
Object
- Object
- Postwill::Response
- Defined in:
- lib/postwill/response.rb
Class Method Summary collapse
Class Method Details
.call(type, value) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/postwill/response.rb', line 3 def self.call(type, value) { status: type, response: value } end |