Sha256: 710e3a98cf502be754d0de318003c198fe6b3cc4ffa3b163ac4b7ebcf7183243

Contents?: true

Size: 368 Bytes

Versions: 11

Compression:

Stored size: 368 Bytes

Contents

module RTurk
  class ApproveRejectedAssignment < Operation

    attr_accessor :assignment_id, :feedback
    require_params :assignment_id

    def to_params
      {'AssignmentId' => self.assignment_id,
        'RequesterFeedback' => self.feedback}
    end
  end

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rturk-2.12.1 lib/rturk/operations/approve_rejected_assignment.rb
rturk-2.12.0 lib/rturk/operations/approve_rejected_assignment.rb
rturk-2.11.3 lib/rturk/operations/approve_rejected_assignment.rb
rturk-2.11.2 lib/rturk/operations/approve_rejected_assignment.rb
rturk-2.11.1 lib/rturk/operations/approve_rejected_assignment.rb
rturk-2.11.0 lib/rturk/operations/approve_rejected_assignment.rb
rturk-2.10.3 lib/rturk/operations/approve_rejected_assignment.rb
rturk-2.10.2 lib/rturk/operations/approve_rejected_assignment.rb
rturk-2.10.1 lib/rturk/operations/approve_rejected_assignment.rb
rturk-2.10.0 lib/rturk/operations/approve_rejected_assignment.rb
rturk-2.9.0 lib/rturk/operations/approve_rejected_assignment.rb