Module: Waxx::Json
Overview
Waxx Copyright © 2016 ePark labs Inc. & Daniel J. Fitzpatrick <dan@eparklabs.com> All rights reserved. Released under the Apache Version 2 License. See LICENSE.txt.
Instance Method Summary collapse
- #delete(x, message: {}) ⇒ Object
- #get(x, d, message: {}) ⇒ Object (also: #post, #put, #patch)
- #not_found(x, data: {}, message: {}) ⇒ Object
Instance Method Details
#delete(x, message: {}) ⇒ Object
16 17 18 |
# File 'waxx/json.rb', line 16 def delete(x, message:{}) x << {ok: true, type: [:type], message: [:message]}.to_json end |