Class: Kubeclient::Resource

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

Overview

Represents all the objects returned by Kubeclient

Instance Method Summary collapse

Constructor Details

#initialize(hash = nil, args = {}) ⇒ Resource

Returns a new instance of Resource.



6
7
8
9
# File 'lib/kubeclient/resource.rb', line 6

def initialize(hash = nil, args = {})
  args[:recurse_over_arrays] = true
  super(hash, args)
end