Module: RpcRequestId
- Defined in:
- lib/calimero/types/rpc_request.rb
Overview
This is free and unencumbered software released into the public domain.
Class Method Summary collapse
Class Method Details
.valid?(value) ⇒ Boolean
4 5 6 |
# File 'lib/calimero/types/rpc_request.rb', line 4 def self.valid?(value) value.is_a?(String) || value.is_a?(Numeric) end |