Browse files

removed extraneous 'require.' Minor tweaks to config text

  • Loading branch information...
1 parent 931b6d6 commit 194509f3876ed12e5d235e2e8071eaa90a38d59e Andre Lewis committed Mar 28, 2013
Showing with 2 additions and 4 deletions.
  1. +2 −4 generic_json_uri/generic_json_uri.rb
View
6 generic_json_uri/generic_json_uri.rb
@@ -1,16 +1,14 @@
class GenericJsonUri < Scout::Plugin
needs 'json', 'open-uri'
- require 'json'
- require 'open-uri'
OPTIONS=<<-EOS
url:
name: URL
- notes: Full URL to the JSON end point you want to query. Could be a path on the server.
+ notes: Full URL to a JSON end point you want to query. Can also be a local path to a file.
username:
notes: Username for basic http auth.
password:
- notes: Password for the username.
+ notes: Password for basic http auth.
EOS
def build_report

0 comments on commit 194509f

Please sign in to comment.