Permalink
Browse files

Merge pull request #7 from staskie/patch-1

Update lib/wuparty.rb
  • Loading branch information...
2 parents 3278e2b + bbfe4d5 commit 629b5697be30a6de3839f6f1e07195ee66262bab @seven1m seven1m committed May 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 629b569

Please sign in to comment.