Class: Yutani::SubResource
- Defined in:
- lib/yutani/resource.rb
Instance Attribute Summary
Attributes inherited from Resource
#fields, #mods, #resource_name, #resource_type, #resources
Attributes inherited from DSLEntity
Instance Method Summary collapse
-
#initialize(scope) ⇒ SubResource
constructor
A new instance of SubResource.
Methods inherited from Resource
#[]=, #method_missing, #ref, #resolve_references!, #to_h
Methods inherited from DSLEntity
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