Class: Hive::Bridge

Inherits:
Api
  • Object
show all
Defined in:
lib/hive/bridge.rb

Overview

Bridge is used to query values related to the communities.

Also see: Bridge Definitions

Constant Summary

Constants inherited from Api

Api::DEFAULT_RPC_CLIENT_CLASS

Instance Attribute Summary

Attributes inherited from Api

#chain, #methods, #rpc_client

Instance Method Summary collapse

Methods inherited from Api

api_class_name, api_name, api_name=, default_rpc_client_class, #inspect, jsonrpc, jsonrpc=, register

Constructor Details

#initialize(options = {}) ⇒ Bridge

Returns a new instance of Bridge.


6
7
8
9
10
# File 'lib/hive/bridge.rb', line 6

def initialize(options = {})
  self.class.api_name = :bridge
  
  super
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Hive::Api