Sha256: 676c17943055898ce29ed796da2a3d90fdd156563d931c694322e0ec8189979d
Contents?: true
Size: 575 Bytes
Versions: 21
Compression:
Stored size: 575 Bytes
Contents
module RTurk class GetBonusPayments < Operation attr_accessor :hit_id, :assignment_id, :page_size, :page_number def parse(xml) GetBonusPaymentsResponse.new(xml) end def to_params params = { 'PageSize' => (page_size || 100), 'PageNumber' => (page_number || 1) } params['HITId'] = hit_id if hit_id params['AssignmentId'] = assignment_id if assignment_id params end end def self.GetBonusPayments(*args, &block) RTurk::GetBonusPayments.create(*args, &block) end end
Version data entries
21 entries across 21 versions & 1 rubygems