class Kempelen::API::Operations::SetHitAsReviewing
Constants
- AWS_OPERATION_NAME
- AWS_RESPONSE_OBJECT
Attributes
revert[RW]
Public Class Methods
new(client, hit_id, revert = false)
click to toggle source
Calls superclass method
Kempelen::API::Operations::HitOperation::new
# File lib/kempelen/API/operations/set_hit_as_reviewing.rb, line 10 def initialize(client, hit_id, revert = false) super(client, hit_id) @operation_name = AWS_OPERATION_NAME @response_object = AWS_RESPONSE_OBJECT @revert = revert end
Public Instance Methods
create_parameters()
click to toggle source
Calls superclass method
Kempelen::API::Operations::HitOperation#create_parameters
# File lib/kempelen/API/operations/set_hit_as_reviewing.rb, line 18 def create_parameters @parameters[:revert] = @revert super end
perform_operation()
click to toggle source
Calls superclass method
Kempelen::API::Operations::Base#perform_operation
# File lib/kempelen/API/operations/set_hit_as_reviewing.rb, line 24 def perform_operation create_request_string super Kempelen::API::Responses::EmptyResponse.new(@raw_response) end