Class: Rubychy::DataTypes::Keyboards

Inherits:
Base
  • Object
show all
Defined in:
lib/rubychy/data_types/keyboards.rb

Instance Method Summary collapse

Instance Method Details

#validationsObject



6
7
8
9
10
11
# File 'lib/rubychy/data_types/keyboards.rb', line 6

def validations
  {
    type: { required: true, class: [String] },
    body: { required: true, class: [String] },
  }
end