Class: ABBYY::Cloud::Models::PaymentType

Inherits:
String
  • Object
show all
Defined in:
lib/abbyy/cloud/models/payment_type.rb

Constant Summary collapse

VALUES =
%w(Manual Balance External).freeze

Class Method Summary collapse

Class Method Details

.new(string) ⇒ Object



6
7
8
# File 'lib/abbyy/cloud/models/payment_type.rb', line 6

def self.new(string)
  super Types::Strict::String.constrained(included_in: VALUES)[string]
end