class DpdApi::Base
Public Class Methods
operations()
click to toggle source
# File lib/dpd_api/base.rb, line 8 def operations client.client.operations end
Protected Class Methods
client()
click to toggle source
# File lib/dpd_api/base.rb, line 14 def client @client ||= Client::Response.new(self.url) Debug::Inspector.new(@client) if DpdApi.configuration.debug @client end
response(method, params = {}, options = {})
click to toggle source
# File lib/dpd_api/base.rb, line 20 def response(method, params = {}, options = {}) client.response(method, params, options) end