Class: JSONRPC::Notification
- Inherits:
-
SmartCore::ValueObject
- Object
- SmartCore::ValueObject
- JSONRPC::Notification
- Defined in:
- lib/jsonrpc/notification.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 end end.new
Instance Method Summary collapse
Instance Method Details
#notification? ⇒ Boolean
34 |
# File 'lib/jsonrpc/notification.rb', line 34 def notification? = true |
#request? ⇒ Boolean
40 |
# File 'lib/jsonrpc/notification.rb', line 40 def request? = false |