Sha256: 7142cb1c17cf16d0598e51063aa748f82e2f10e98ebeb29f2db2dad224900777
Contents?: true
Size: 743 Bytes
Versions: 4
Compression:
Stored size: 743 Bytes
Contents
=begin #DocuSign Rooms API - v2 #An API for an integrator to access the features of DocuSign Rooms OpenAPI spec version: v2 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git =end require 'date' module DocuSign_Rooms class AccountStatus ACTIVE = 'Active'.freeze PENDING = 'Pending'.freeze # 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 = AccountStatus.constants.select { |c| AccountStatus::const_get(c) == value } raise "Invalid ENUM value #{value} for class #AccountStatus" if constantValues.empty? value end end end
Version data entries
4 entries across 4 versions & 1 rubygems