Sha256: d6009a21752c49ba0ba2896786cd31e9f34d4ba3146e39dff8efc93029ecc997
Contents?: true
Size: 483 Bytes
Versions: 3
Compression:
Stored size: 483 Bytes
Contents
module IyziPay class HttpClient def self.get(url, header={}) RestClient.get(url, header) end def self.post(url, header, content) RestClient.post(url, content, header) end def self.put(url, header, content) RestClient.put(url, content, header) end def self.delete(url, headers={}, content, &block) RestClient::Request.execute(:method => :delete, :url => url, :payload => content, :headers => headers, &block) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
iyzipay-zebramo-1.0.39 | lib/iyzipay/http_client.rb |
iyzipay-zebramo-1.0.38 | lib/iyzipay/http_client.rb |
iyzipay-zebramo-1.0.37 | lib/iyzipay/http_client.rb |