Class: JSONRPC::Request
- Inherits:
-
SmartCore::ValueObject
- Object
- SmartCore::ValueObject
- JSONRPC::Request
- Defined in:
- lib/jsonrpc/request.rb
Overview
Constant Summary collapse
- Schema =
Class.new(SmartCore::Schema) do schema do required(:jsonrpc).type(:string).filled required(:method).type(:string).filled required(:params).type(:hash).filled required(:id).type(:string).filled end end.new
Instance Method Summary collapse
Instance Method Details
#notification? ⇒ Boolean
39 |
# File 'lib/jsonrpc/request.rb', line 39 def notification? = false |
#request? ⇒ Boolean
45 |
# File 'lib/jsonrpc/request.rb', line 45 def request? = true |