Sha256: aa974186e21894b1c2a35813b7acedc7b40ede451076fa5b594a8a4d5b9ebb9e

Contents?: true

Size: 195 Bytes

Versions: 6

Compression:

Stored size: 195 Bytes

Contents

class SimpleCommand < Mutations::Command
  
  required do
    string :name, max_length: 10
    string :email
  end
  
  optional do
    integer :amount
  end
  
  def execute
    inputs
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mutations-0.5.9 spec/simple_command.rb
mutations-0.5.4 spec/simple_command.rb
mutations-0.5.3 spec/simple_command.rb
mutations-0.5.2 spec/simple_command.rb
mutations-0.5.1 spec/simple_command.rb
mutations-0.5.0 spec/simple_command.rb