Class: RequestPost

Inherits:
Hash show all
Defined in:
lib/rwd/net.rb

Instance Method Summary collapse

Methods inherited from Hash

file, #ids, #rwd_table, #save, #subset, #to_i

Constructor Details

#initialize(data) ⇒ RequestPost

Returns a new instance of RequestPost.


530
531
532
533
534
# File 'lib/rwd/net.rb', line 530

def initialize(data)
  CGI.parse(data).each do |k, v|
    self[k]	= v
  end
end