Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #7 from staskie/patch-1

Update lib/wuparty.rb
  • Loading branch information...
commit 629b5697be30a6de3839f6f1e07195ee66262bab 2 parents 3278e2b + bbfe4d5
Tim Morgan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/wuparty.rb
2  lib/wuparty.rb
View
@@ -151,7 +151,7 @@ def delete_webhook(form_id, webhook_hash)
# Returns details about the specified report.
def report(report_id)
if r = get("reports/#{report_id}")['Reports']
- Form.new(r.first['Url'], :party => self, :details => r.first)
+ Report.new(r.first['Url'], :party => self, :details => r.first)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.