Sha256: e92cace7b704a84fa2e29428b5f16da409ef0b44724d947cafa99b9fdb7e8650

Contents?: true

Size: 347 Bytes

Versions: 12

Compression:

Stored size: 347 Bytes

Contents

module RTurk
  class GetAssignment < Operation
    require_params :assignment_id
    attr_accessor  :assignment_id

    def parse(xml)
      GetAssignmentResponse.new(xml)
    end

    def to_params
      {'AssignmentId' => assignment_id}
    end
  end

  def self.GetAssignment(*args, &blk)
    RTurk::GetAssignment.create(*args, &blk)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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