Sha256: 628de4fd9a63fac307bc2a59058cf14db9ca5a9c40abefd9b7dff893a7edfcc1

Contents?: true

Size: 515 Bytes

Versions: 1

Compression:

Stored size: 515 Bytes

Contents

module DpdApi
  class Geography < Base
    class << self
      def cities_cash_pay
        method = :get_cities_cash_pay
        response(method)
      end

      def terminals_self_delivery
        method = :get_terminals_self_delivery2
        response(method)
      end

      def parcel_shops(params = {})
        method = :get_parcel_shops
        response(method, params)
      end

      protected

      def url
        "#{DpdApi.configuration.base_url}/services/geography?wsdl"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dpd_api-0.0.1 lib/dpd_api/geography.rb