Class: Kubeclient::Resource
- Inherits:
-
RecursiveOpenStruct
- Object
- RecursiveOpenStruct
- Kubeclient::Resource
- Defined in:
- lib/kubeclient/resource.rb
Overview
Represents all the objects returned by Kubeclient
Instance Method Summary collapse
-
#initialize(hash = nil, args = {}) ⇒ Resource
constructor
A new instance of Resource.
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 |