Class: MetronomeSDK::Resources::V2

Inherits:
Object
  • Object
show all
Defined in:
lib/metronome_sdk/resources/v2.rb,
lib/metronome_sdk/resources/v2/contracts.rb

Defined Under Namespace

Classes: Contracts

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ V2

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of V2.

Parameters:



12
13
14
15
# File 'lib/metronome_sdk/resources/v2.rb', line 12

def initialize(client:)
  @client = client
  @contracts = MetronomeSDK::Resources::V2::Contracts.new(client: client)
end

Instance Attribute Details

#contractsMetronomeSDK::Resources::V2::Contracts (readonly)



7
8
9
# File 'lib/metronome_sdk/resources/v2.rb', line 7

def contracts
  @contracts
end