Class: K8y::Resource

Inherits:
RecursiveOpenStruct
  • Object
show all
Defined in:
lib/k8y/resource.rb

Instance Method Summary collapse

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