Class: Candid::ExpectedNetworkStatus::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/candid/expected_network_status/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Candid::ExpectedNetworkStatus::Client



7
8
9
# File 'lib/candid/expected_network_status/client.rb', line 7

def initialize(client:)
  @client = client
end

Instance Method Details

#v_1Candid::V1::Client

Returns:

  • (Candid::V1::Client)


12
13
14
# File 'lib/candid/expected_network_status/client.rb', line 12

def v_1
  @v_1 ||= Candid::ExpectedNetworkStatus::V1::Client.new(client: @client)
end

#v_2Candid::V2::Client

Returns:

  • (Candid::V2::Client)


17
18
19
# File 'lib/candid/expected_network_status/client.rb', line 17

def v_2
  @v_2 ||= Candid::ExpectedNetworkStatus::V2::Client.new(client: @client)
end