Sha256: a6024fc85005a968be319298f16d1a984be0926d95b2fdf8efc002e5a0205d10

Contents?: true

Size: 396 Bytes

Versions: 30

Compression:

Stored size: 396 Bytes

Contents

module RTurk
  class SendTestEventNotification < Operation
    PARAMZ = [:notification, :test_event_type]

    attr_accessor *PARAMZ
    require_params *PARAMZ

    def to_params
      { :TestEventType => self.test_event_type }.
        merge(self.notification.to_param_hash)
    end
  end

  def self.SendTestEventNotification(*args)
    RTurk::SendTestEventNotification.create(*args)
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
rturk-2.12.1 lib/rturk/operations/send_test_event_notification.rb
rturk-2.12.0 lib/rturk/operations/send_test_event_notification.rb
rturk-2.11.3 lib/rturk/operations/send_test_event_notification.rb
rturk-2.11.2 lib/rturk/operations/send_test_event_notification.rb
rturk-2.11.1 lib/rturk/operations/send_test_event_notification.rb
rturk-2.11.0 lib/rturk/operations/send_test_event_notification.rb
rturk-2.10.3 lib/rturk/operations/send_test_event_notification.rb
rturk-2.10.2 lib/rturk/operations/send_test_event_notification.rb
rturk-2.10.1 lib/rturk/operations/send_test_event_notification.rb
rturk-2.10.0 lib/rturk/operations/send_test_event_notification.rb
rturk-2.9.0 lib/rturk/operations/send_test_event_notification.rb
rturk-2.8.0 lib/rturk/operations/send_test_event_notification.rb
rturk-2.7.0 lib/rturk/operations/send_test_event_notification.rb
rturk-2.6.0 lib/rturk/operations/send_test_event_notification.rb
rturk-2.5.2 lib/rturk/operations/send_test_event_notification.rb
rturk-2.5.0 lib/rturk/operations/send_test_event_notification.rb
rturk-2.4.1 lib/rturk/operations/send_test_event_notification.rb
rturk-2.4.0 lib/rturk/operations/send_test_event_notification.rb
rturk-2.3.6 lib/rturk/operations/send_test_event_notification.rb
rturk-2.3.5 lib/rturk/operations/send_test_event_notification.rb