Sha256: 456f7a59324f7993b9442b2ca78599c09d9bf26f26ad2cc25e2c5e8f7501e067
Contents?: true
Size: 1.35 KB
Versions: 3
Compression:
Stored size: 1.35 KB
Contents
# encoding: utf-8 # (c) 2011-2015 Martin Poljak (martin@poljak.cz) require "json-rpc-objects/v11/wd/error" ## # Main JSON-RPC Objects module. # module JsonRpcObjects ## # General module of JSON-RPC 1.1. # module V11 ## # Module of JSON-RPC 1.1 Alternative. # @see http://groups.google.com/group/json-rpc/web/json-rpc-1-1-alt # module Alt ## # Error description object class for ProcedureReturn. # class Error < JsonRpcObjects::V11::WD::Error ## # Holds link to its version module. # VERSION = JsonRpcObjects::V11::Alt ## # Checks correctness of the data. # def check! self.normalize! end ## # Renders data to output hash. # @return [Hash] with data of error # def output result = super() result.delete("name") return result end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
json-rpc-objects-0.4.6 | lib/json-rpc-objects/v11/alt/error.rb |
json-rpc-objects-0.4.5 | lib/json-rpc-objects/v11/alt/error.rb |
json-rpc-objects-0.4.4 | lib/json-rpc-objects/v11/alt/error.rb |