module ServiceActor::Collectionable
Add checks to your inputs, by specifying what values are authorized under the “in” key.
Example:
class Pay < Actor input :provider, in: ['MANGOPAY', 'PayPal', 'Stripe'] end
Public Class Methods
included(base)
click to toggle source
# File lib/service_actor/collectionable.rb, line 13 def self.included(base) base.prepend(PrependedMethods) end