app/models/actions/get_action.rb in artfully_ose-1.2.0 vs app/models/actions/get_action.rb in artfully_ose-1.3.0.pre1
- old
+ new
@@ -1,8 +1,10 @@
class GetAction < Action
include ImmutableAction
+ validates_presence_of :person_id
+
def subtype
"Purchase"
end
def action_type
@@ -14,6 +16,6 @@
end
def self.subtypes
[]
end
-end
\ No newline at end of file
+end