Class: Candid::ExpectedNetworkStatus::Client
- Inherits:
-
Object
- Object
- Candid::ExpectedNetworkStatus::Client
- Defined in:
- lib/candid/expected_network_status/client.rb
Instance Method Summary collapse
- #initialize(client:) ⇒ Candid::ExpectedNetworkStatus::Client constructor
- #v_1 ⇒ Candid::V1::Client
- #v_2 ⇒ Candid::V2::Client
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_1 ⇒ 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_2 ⇒ 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 |