Class: Sink::Resources::DeeplyNested

Inherits:
Object
  • Object
show all
Defined in:
lib/sink/resources/deeply_nested.rb,
lib/sink/resources/deeply_nested/level_one.rb,
lib/sink/resources/deeply_nested/level_one/level_two.rb,
lib/sink/resources/deeply_nested/level_one/level_two/level_three.rb

Defined Under Namespace

Classes: LevelOne

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ DeeplyNested

Returns a new instance of DeeplyNested.

Parameters:


10
11
12
13
# File 'lib/sink/resources/deeply_nested.rb', line 10

def initialize(client:)
  @client = client
  @level_one = Sink::Resources::DeeplyNested::LevelOne.new(client: client)
end

Instance Attribute Details

#level_oneSink::Resources::DeeplyNested::LevelOne (readonly)


7
8
9
# File 'lib/sink/resources/deeply_nested.rb', line 7

def level_one
  @level_one
end