Sha256: 91794e688592de5505154a31ba4674a5148d97c05b9e045dc9af2b2aed325939

Contents?: true

Size: 708 Bytes

Versions: 33

Compression:

Stored size: 708 Bytes

Contents

# Operation to approve an assignment
#
# http://mechanicalturk.amazonaws.com/?Service=AWSMechanicalTurkRequester
# &AWSAccessKeyId=[the Requester's Access Key ID]
# &Version=2008-08-02
# &Operation=ApproveAssignment
# &Signature=[signature for this request]
# &Timestamp=[your system's local time]
# &AssignmentId=123RVWYBAZW00EXAMPLE456RVWYBAZW00EXAMPLE

module RTurk
  class ApproveAssignment < Operation

    attr_accessor :assignment_id, :feedback
    require_params :assignment_id
    
    def to_params
      {'AssignmentId' => self.assignment_id,
        'RequesterFeedback' => self.feedback}
    end
    
  end
  def self.ApproveAssignment(*args)
    RTurk::ApproveAssignment.create(*args)
  end

end

Version data entries

33 entries across 33 versions & 1 rubygems

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