Class: MetronomeSDK::Resources::V2
- Inherits:
-
Object
- Object
- MetronomeSDK::Resources::V2
- 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
-
#initialize(client:) ⇒ V2
constructor
private
A new instance of V2.
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.
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
#contracts ⇒ MetronomeSDK::Resources::V2::Contracts (readonly)
7 8 9 |
# File 'lib/metronome_sdk/resources/v2.rb', line 7 def contracts @contracts end |