Sha256: da58b0ecb41313aad9d2acc9aa82d006158dc4151b7117cb579eb07a6ccf9a37

Contents?: true

Size: 440 Bytes

Versions: 10

Compression:

Stored size: 440 Bytes

Contents

# encoding: utf-8

module DpdApi
  class LabelPrint < Base
    class << self
      def create_label_file(params = {})
        response(:create_label_file, params, namespace: :get_label_file)
      end

      def create_label(params = {})
        response(:create_label, params, namespace: :get_label)
      end

      protected

      def url
        "#{DpdApi.configuration.base_url}/services/label-print?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/label_print.rb
dpd_api-0.1.9 lib/dpd_api/label_print.rb
dpd_api-0.1.8 lib/dpd_api/label_print.rb
dpd_api-0.1.7 lib/dpd_api/label_print.rb
dpd_api-0.1.6 lib/dpd_api/label_print.rb
dpd_api-0.1.5 lib/dpd_api/label_print.rb
dpd_api-0.1.3 lib/dpd_api/label_print.rb
dpd_api-0.1.2 lib/dpd_api/label_print.rb
dpd_api-0.1.1 lib/dpd_api/label_print.rb
dpd_api-0.1.0 lib/dpd_api/label_print.rb