Sha256: fbd6626c8e04b7e52ab3160bf400401b3a026c5181d44dcefa0e8874355f751a

Contents?: true

Size: 534 Bytes

Versions: 10

Compression:

Stored size: 534 Bytes

Contents

# encoding: utf-8

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

10 entries across 10 versions & 1 rubygems

Version Path
dpd_api-0.1.10 lib/dpd_api/geography.rb
dpd_api-0.1.9 lib/dpd_api/geography.rb
dpd_api-0.1.8 lib/dpd_api/geography.rb
dpd_api-0.1.7 lib/dpd_api/geography.rb
dpd_api-0.1.6 lib/dpd_api/geography.rb
dpd_api-0.1.5 lib/dpd_api/geography.rb
dpd_api-0.1.3 lib/dpd_api/geography.rb
dpd_api-0.1.2 lib/dpd_api/geography.rb
dpd_api-0.1.1 lib/dpd_api/geography.rb
dpd_api-0.1.0 lib/dpd_api/geography.rb