Permalink
Browse files

Merge pull request #18 from aualdrich/patch-1

Fix validation code example
  • Loading branch information...
2 parents 3a45b2e + 8ff616d commit 46ee2d56364d176279d0c47b31b818a4e3d10b6d @karmajunkie committed on GitHub Oct 29, 2016
Showing with 2 additions and 0 deletions.
  1. +2 −0 README.md
View
@@ -37,6 +37,8 @@ gem 'imperator'
###Creating the command:
```ruby
class DoSomethingCommand < Imperator::Command
+ include ActiveModel::Validations
+
attribute :some_object_id
attribute :some_value

0 comments on commit 46ee2d5

Please sign in to comment.