Class: Kempelen::API::Operations::RejectAssignment

Inherits:
AssignmentOperation show all
Defined in:
lib/kempelen/API/operations/reject_assignment.rb

Constant Summary collapse

AWS_OPERATION_NAME =
"RejectAssignment".freeze
AWS_RESPONSE_OBJECT =
"RejectAssignmentResponse".freeze

Constants inherited from AssignmentOperation

AssignmentOperation::FEEDBACK_MAX_SIZE

Instance Attribute Summary

Attributes inherited from AssignmentOperation

#assignment_id, #operation_name, #requester_feedback

Attributes inherited from Base

#client, #parameters, #query_string, #raw_response, #response_object, #timestamp

Instance Method Summary collapse

Methods inherited from AssignmentOperation

#create_parameters, #perform_operation

Methods inherited from Base

#create_parameters, #create_request_string, #perform_operation

Constructor Details

#initialize(client, assignment_id, requester_feedback = nil) ⇒ RejectAssignment

Returns a new instance of RejectAssignment.



8
9
10
11
12
13
# File 'lib/kempelen/API/operations/reject_assignment.rb', line 8

def initialize(client, assignment_id, requester_feedback = nil)
  super(client, assignment_id, requester_feedback)

  @operation_name = AWS_OPERATION_NAME
  @response_object = AWS_RESPONSE_OBJECT
end