Class: Chainalysis::Client
- Inherits:
-
BaseClient
- Object
- BaseClient
- Chainalysis::Client
- Defined in:
- lib/chainalysis/client.rb
Overview
Main client class that provides access to both V1 and V2 clients
Constant Summary
Constants inherited from BaseClient
BaseClient::ADMIN_URL, BaseClient::BASE_URL, BaseClient::VERSION
Instance Attribute Summary
Attributes inherited from BaseClient
Instance Method Summary collapse
Methods inherited from BaseClient
Constructor Details
This class inherits a constructor from Chainalysis::BaseClient
Instance Method Details
#v1 ⇒ Object
271 272 273 |
# File 'lib/chainalysis/client.rb', line 271 def v1 @v1 ||= V1Client.new(api_key: api_key, adapter: adapter, stubs: @stubs) end |
#v2 ⇒ Object
275 276 277 |
# File 'lib/chainalysis/client.rb', line 275 def v2 @v2 ||= V2Client.new(api_key: api_key, adapter: adapter, stubs: @stubs) end |