Class: Iyzipay::Model::V2::CheckoutForm
- Inherits:
-
IyzipayResourceV2
- Object
- IyzipayResource
- IyzipayResourceV2
- Iyzipay::Model::V2::CheckoutForm
- Defined in:
- lib/iyzipay/model/v2/checkout_form.rb
Constant Summary collapse
- RESOURCE =
'/v2/subscription/checkoutform'
Constants inherited from IyzipayResourceV2
IyzipayResourceV2::AUTHORIZATION_HEADER_STRING
Constants inherited from IyzipayResource
IyzipayResource::AUTHORIZATION_HEADER_NAME, IyzipayResource::AUTHORIZATION_HEADER_STRING, IyzipayResource::RANDOM_CHARS, IyzipayResource::RANDOM_HEADER_NAME, IyzipayResource::RANDOM_STRING_SIZE
Instance Method Summary collapse
Methods inherited from IyzipayResourceV2
#calculate_hash, #get_http_header, #prepare_authorization_string
Methods inherited from IyzipayResource
#calculate_hash, #format_header_string, #get_http_header, #get_plain_http_header, #json_decode, #prepare_authorization_string, #random_string, #to_pki_string
Instance Method Details
#retrieve(request, options) ⇒ Object
7 8 9 10 |
# File 'lib/iyzipay/model/v2/checkout_form.rb', line 7 def retrieve(request, ) header = get_http_header(, "#{RESOURCE}/#{request[:token]}") HttpClient.get_even_on_error(base_url(, request[:token]), header) end |