Class: RequestPost
Instance Method Summary collapse
-
#initialize(data) ⇒ RequestPost
constructor
A new instance of RequestPost.
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 |