app/models/actions/exchange_action.rb in artfully_ose-1.2.0 vs app/models/actions/exchange_action.rb in artfully_ose-1.3.0.pre1
- old
+ new
@@ -1,8 +1,10 @@
class ExchangeAction < GetAction
include ImmutableAction
+ validates_presence_of :person_id
+
def subtype
"Exchange"
end
def action_type
@@ -10,6 +12,6 @@
end
def verb
""
end
-end
\ No newline at end of file
+end