Class: AGCOD::CancelGiftCard
- Inherits:
-
Object
- Object
- AGCOD::CancelGiftCard
- Extended by:
- Forwardable
- Defined in:
- lib/aws_agcod/cancel_gift_card.rb
Instance Method Summary collapse
-
#initialize(httpable, request_id, gc_id) ⇒ CancelGiftCard
constructor
A new instance of CancelGiftCard.
Constructor Details
#initialize(httpable, request_id, gc_id) ⇒ CancelGiftCard
Returns a new instance of CancelGiftCard.
9 10 11 12 13 14 |
# File 'lib/aws_agcod/cancel_gift_card.rb', line 9 def initialize(httpable, request_id, gc_id) @response = Request.new(httpable,'CancelGiftCard', 'creationRequestId' => request_id, 'gcId' => gc_id ).response end |