Sha256: 27d5bde2d41a25f0bbe38e4728a87ec86d80061e2402d02aacaacbb9f2095e68

Contents?: true

Size: 284 Bytes

Versions: 6

Compression:

Stored size: 284 Bytes

Contents

module Mbsy
  class Event < Base
    
    def self.create(params={})
      raise ArgumentError, "You must include :campaign_uid" unless params[:campaign_uid]
      raise ArgumentError, "You must include :email" unless params[:email]
      call('record', params)
    end
    
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mbsy-1.0.6 lib/mbsy/resources/event.rb
mbsy-1.0.4 lib/mbsy/resources/event.rb
mbsy-1.0.3 lib/mbsy/resources/event.rb
mbsy-1.0.2 lib/mbsy/resources/event.rb
mbsy-1.0.1 lib/mbsy/resources/event.rb
mbsy-1.0.0 lib/mbsy/resources/event.rb