Sha256: bec9601b78b5041f12710e85d5ca7c308f89139edbf6f56aa0950f489be6fbf2
Contents?: true
Size: 936 Bytes
Versions: 14
Compression:
Stored size: 936 Bytes
Contents
=begin #Pulp 3 API #Fetch, Upload, Organize, and Distribute Software Packages The version of the OpenAPI document: v3 Contact: pulp-list@redhat.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 =end require 'date' module PulpContainerClient class Policy8e2Enum ON_DEMAND = "on_demand".freeze # Builds the enum from string # @param [String] The enum value in the form of the string # @return [String] The enum value def self.build_from_hash(value) new.build_from_hash(value) end # Builds the enum from string # @param [String] The enum value in the form of the string # @return [String] The enum value def build_from_hash(value) constantValues = Policy8e2Enum.constants.select { |c| Policy8e2Enum::const_get(c) == value } raise "Invalid ENUM value #{value} for class #Policy8e2Enum" if constantValues.empty? value end end end
Version data entries
14 entries across 14 versions & 1 rubygems