Welcome to mirror list, hosted at ThFree Co, Russian Federation.

resource.rb « kubeclient « lib « kubeclient « gems « vendor - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 08a50c3fe4fb530504dfff0324f45f35df53d593 (plain)
1
2
3
4
5
6
7
8
9
10
11
require 'recursive_open_struct'

module Kubeclient
  # Represents all the objects returned by Kubeclient
  class Resource < RecursiveOpenStruct
    def initialize(hash = nil, args = {})
      args[:recurse_over_arrays] = true
      super(hash, args)
    end
  end
end