lib/polytrix/validation.rb in polytrix-0.1.0.pre vs lib/polytrix/validation.rb in polytrix-0.1.0
- old
+ new
@@ -1,8 +1,8 @@
require 'hashie/dash'
module Polytrix
- class Validation < Hashie::Dash
+ class Validation < Polytrix::ManifestSection
ALLOWABLE_STATES = %w(passed pending failed skipped)
property :validated_by, required: true
property :result
def result=(state)