Class: Yutani::SubResource

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

Instance Attribute Summary

Attributes inherited from Resource

#fields, #namespace, #resource_type

Instance Method Summary collapse

Methods inherited from Resource

#method_missing, #ref, #resource_name, #respond_to_missing?, #template, #to_h

Methods included from Hiera

#hiera, init_hiera, lookup, pop, push, scope

Constructor Details

#initializeSubResource

Returns a new instance of SubResource.



56
57
58
# File 'lib/yutani/resource.rb', line 56

def initialize
  @fields = {}
end

Dynamic Method Handling

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