Class: AGCOD::CancelGiftCard

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/aws_agcod/cancel_gift_card.rb

Instance Method Summary collapse

Constructor Details

#initialize(request_id, gc_id) ⇒ CancelGiftCard



9
10
11
12
13
14
# File 'lib/aws_agcod/cancel_gift_card.rb', line 9

def initialize(request_id, gc_id)
  @response = Request.new("CancelGiftCard",
    "creationRequestId" => request_id,
    "gcId" => gc_id
  ).response
end