Class: K8y::Resource
- Inherits:
-
RecursiveOpenStruct
- Object
- RecursiveOpenStruct
- K8y::Resource
- Defined in:
- lib/k8y/resource.rb
Instance Method Summary collapse
-
#initialize(hash, args = {}) ⇒ Resource
constructor
A new instance of Resource.
Constructor Details
#initialize(hash, args = {}) ⇒ Resource
Returns a new instance of Resource.
7 8 9 10 |
# File 'lib/k8y/resource.rb', line 7 def initialize(hash, args = {}) args[:recurse_over_arrays] = true super(hash, args) end |