lib/offsite_payments/integrations/world_pay.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
          for line in post.split('&')
            key, value = *line.scan( %r{^(\w+)\=(.*)$} ).flatten
            params[key] = value
          end
        end
def parse ( post ) @raw = post for line in post . split ( '&' ) 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>