Skip to content
Browse files

Update lib/mbsy/resources/event.rb

  • Loading branch information...
1 parent ce4988f commit 73677f908135e4b79b8a7fe07d70bbe754e86794 @jbeasley6651 committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/mbsy/resources/event.rb
View
2 lib/mbsy/resources/event.rb
@@ -5,6 +5,8 @@ def self.create(params={})
raise ArgumentError, "You must include :campaign_uid" unless params[:campaign_uid]
raise ArgumentError, "You must include :email" unless params[:email]
raise ArgumentError, "You must include :short_code" unless params[:short_code]
+ raise ArgumentError, "You must include :revenue" unless params[:revenue]
+ raise ArgumentError, "You must include :auto_create" unless params[:auto_create]
call('record', params)
end

0 comments on commit 73677f9

Please sign in to comment.
Something went wrong with that request. Please try again.