def call_api( method, args = nil)
        method_url  = self.api_url  + self.send( "#{method}_path")
        pid         = "pid="        + self.partner_id
        format      = "format="     + self.format
        site        = "site="       + self.site

        if( args === nil) then
          uri   = URI.parse( method_url.to_s + [pid, format, site].join('&').to_s) 
        else
          uri   = URI.parse( method_url.to_s + [pid, format, site, args].join('&').to_s) 
        end

        return Net::HTTP.get( uri)
      end
def call_api( method, args = nil)
        method_url  = self.api_url  + self.send( "#{method}_path")
        pid         = "pid="        + self.partner_id
        format      = "format="     + self.format
        site        = "site="       + self.site

        if( args === nil) then
          uri   = URI.parse( method_url.to_s + [pid, format, site].join('&').to_s) 
        else
          uri   = URI.parse( method_url.to_s + [pid, format, site, args].join('&').to_s) 
        end

        return Net::HTTP.get( uri)
      end
This method is used for making the http calls building off the DSL of this module.
 @param [String] method
   The method which is to be used in the call to Shopsense
 @param [String] args
   A concatenated group of arguments seperated by a an & symbol and spces substitued with a + symbol.
 @return [String] A list of the data returned