Class: Yutani::SubResource

Inherits:
Resource show all
Defined in:
lib/yutani/resource.rb

Instance Attribute Summary

Attributes inherited from Resource

#fields, #mods, #resource_name, #resource_type, #resources

Attributes inherited from DSLEntity

#scope

Instance Method Summary collapse

Methods inherited from Resource

#[]=, #method_missing, #ref, #resolve_references!, #to_h

Methods inherited from DSLEntity

#hiera

Constructor Details

#initialize(scope) ⇒ SubResource

Returns a new instance of SubResource.



66
67
68
69
# File 'lib/yutani/resource.rb', line 66

def initialize(scope)
  @scope  = scope
  @fields = {}
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Yutani::Resource