lib/offsite_payments/integrations/authorize_net_sim.rb
# Take the posted data and move the relevant data into a hash.
Take the posted data and move the relevant data into a hash.
Take the posted data and move the relevant data into a hash .
def parse(post)
          @raw = post
          post.split('&').each do |line|
            key, value = *line.scan( %r{^(\w+)\=(.*)$} ).flatten
            params[key] = value
          end
        end
def parse ( post ) @raw = post post . split ( '&' ) . each do | line | key , value = * line . scan ( %r{ ^( \w +) \= (.*)$ } ) . flatten params [ key ] = value end end
Take the posted data and move the relevant data into a hash.
Take the posted data and move the relevant data into a hash .
post
<not_specific>