adenaecommerce/pombo

View on GitHub
lib/pombo/webservice/cpp/base_request.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'uri'

module Pombo
  module Webservice
    class CPP
      # Class to create the requests for services
      # @abstract
      class BaseRequest

        def initialize(package)
          @package = package
        end

        # Encodes the request for http format
        def to_param
          URI.encode_www_form to_hash
        end
      end
    end
  end
end