Module: SolanaRpcRuby
- Defined in:
- lib/solana_rpc_ruby.rb,
lib/solana_rpc_ruby/version.rb,
lib/solana_rpc_ruby/response.rb,
lib/solana_rpc_ruby/api_error.rb,
lib/solana_rpc_ruby/api_client.rb,
lib/solana_rpc_ruby/request_body.rb,
lib/solana_rpc_ruby/helper_methods.rb,
lib/solana_rpc_ruby/methods_wrapper.rb,
lib/solana_rpc_ruby/websocket_client.rb,
lib/solana_rpc_ruby/websocket_methods_wrapper.rb,
lib/generators/solana_rpc_ruby/install_generator.rb
Overview
Namespace for classes and modules that handle connection with solana JSON RPC API.
Defined Under Namespace
Modules: Generators, HelperMethods, RequestBody Classes: ApiClient, ApiError, MethodsWrapper, Response, WebsocketClient, WebsocketsMethodsWrapper
Constant Summary collapse
- VERSION =
'1.2.0'
Class Attribute Summary collapse
-
.cluster ⇒ String
Default cluster address that will be used if not passed.
-
.json_rpc_version ⇒ String
Default json rpc version that will be used.
-
.ws_cluster ⇒ String
Default websocket cluster address that will be used if not passed.
Class Method Summary collapse
-
.config {|_self| ... } ⇒ String
Config set from initializer.
Class Attribute Details
.cluster ⇒ String
Default cluster address that will be used if not passed.
13 14 15 |
# File 'lib/solana_rpc_ruby.rb', line 13 def cluster @cluster end |
.json_rpc_version ⇒ String
Default json rpc version that will be used.
21 22 23 |
# File 'lib/solana_rpc_ruby.rb', line 21 def json_rpc_version @json_rpc_version end |
.ws_cluster ⇒ String
Default websocket cluster address that will be used if not passed.
17 18 19 |
# File 'lib/solana_rpc_ruby.rb', line 17 def ws_cluster @ws_cluster end |
Class Method Details
.config {|_self| ... } ⇒ String
Config set from initializer.
25 26 27 |
# File 'lib/solana_rpc_ruby.rb', line 25 def config yield self end |