Skip to content

Commit 8689886

Browse files
authored
Merge pull request #243 from rmarot/master
Add postData getter for network request
2 parents dfb7f6c + 78606f7 commit 8689886

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/ferrum/network/request.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ def headers
4545
def time
4646
@time ||= Time.strptime(@params["wallTime"].to_s, "%s")
4747
end
48+
49+
def post_data
50+
@request["postData"]
51+
end
52+
alias body post_data
4853
end
4954
end
5055
end

0 commit comments

Comments
 (0)