Sha256: 11ebfaa4cc3d08594cc0b6280965439422ec28c7399072df9ea43ec5b62ea7cf
Contents?: true
Size: 374 Bytes
Versions: 1
Compression:
Stored size: 374 Bytes
Contents
require "mountapi/response/base" module Mountapi module Response # To use when the request parameters are invalid or missing class BadRequest include Base status 400 def initialize(errors, response = nil) @errors = errors @response = response end def payload { errors: @errors } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mountapi-0.11.1 | lib/mountapi/response/bad_request.rb |