class ABBYY::Cloud::Models::DiscountType

Constants

VALUES

Public Class Methods

new(string) click to toggle source
Calls superclass method
# File lib/abbyy/cloud/models/discount_type.rb, line 11
def self.new(string)
  super Types::Strict::String.constrained(included_in: VALUES)[string]
end