Class: DpdApi::Calculator

Inherits:
Base
  • Object
show all
Defined in:
lib/dpd_api/calculator.rb

Class Method Summary collapse

Methods inherited from Base

operations

Class Method Details

.service_cost(params = {}) ⇒ Object



6
7
8
9
# File 'lib/dpd_api/calculator.rb', line 6

def service_cost(params = {})
  method = :get_service_cost2
  response(method, params)
end

.service_cost_by_parcels(params = {}) ⇒ Object



11
12
13
14
# File 'lib/dpd_api/calculator.rb', line 11

def service_cost_by_parcels(params = {})
  method = :get_service_cost_by_parcels2
  response(method, params)
end