Class: IyziPay::Model::ApiTest

Inherits:
IyziPayResource show all
Defined in:
lib/iyzipay/model/api_test.rb

Constant Summary

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 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(options) ⇒ Object



5
6
7
# File 'lib/iyzipay/model/api_test.rb', line 5

def retrieve(options)
  HttpClient.get("#{options.base_url}/payment/test")
end