generators/templates/integration.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.to_s
          for line in @raw.split('&')
            key, value = *line.scan( %r{^([A-Za-z0-9_.-]+)\=(.*)$} ).flatten
            params[key] = CGI.unescape(value.to_s) if key.present?
          end
        end
def parse ( post ) @raw = post . to_s for line in @raw . split ( '&' ) key , value = * line . scan ( %r{ ^([A-Za-z0-9_.-]+) \= (.*)$ } ) . flatten params [ key ] = CGI . unescape ( value . to_s ) if key . present? 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>