Sha256: 209ff4aa8d8868c1a213a19946bfb582b35123e6b322b504774049d8ca54da26
Contents?: true
Size: 920 Bytes
Versions: 4
Compression:
Stored size: 920 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.2.3 =end require 'date' module PulpRpmClient class SkipTypesEnum SRPM = "srpm".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 = SkipTypesEnum.constants.select { |c| SkipTypesEnum::const_get(c) == value } raise "Invalid ENUM value #{value} for class #SkipTypesEnum" if constantValues.empty? value end end end
Version data entries
4 entries across 4 versions & 1 rubygems