Class: Sink::Resources::DeeplyNested
- Inherits:
-
Object
- Object
- Sink::Resources::DeeplyNested
- 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
-
#initialize(client:) ⇒ DeeplyNested
constructor
A new instance of DeeplyNested.
Constructor Details
#initialize(client:) ⇒ DeeplyNested
Returns a new instance of DeeplyNested.
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_one ⇒ Sink::Resources::DeeplyNested::LevelOne (readonly)
7 8 9 |
# File 'lib/sink/resources/deeply_nested.rb', line 7 def level_one @level_one end |