We need it since client.rb calls xmlrpc_params for all methods (activate,
get_addresses, etc.) with the same arguments. Sort of an interface I guess,
which is not declared because there are no interfaces in ruby :)

On Monday, August 26, 2013, Daniel Kalman wrote:

> In lib/klarna/methods/credit_invoice.rb:
>
> > @@ -0,0 +1,28 @@
> > +require 'klarna/digest'
> > +
> > +module Klarna
> > +  module Methods
> > +    module CreditInvoice
> > +      def self.xmlrpc_name
> > +        'credit_invoice'
> > +      end
> > +
> > +      def self.xmlrpc_params(store_id, store_secret, api_version, client_name, params)
>
> Where are the api_version and client_name used?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/klarna/klarna-client-ruby/pull/5/files#r5973294>
> .
>