Permalink
Browse files

Add api method

  • Loading branch information...
1 parent 0dfc5fa commit 5521b7f77399bc6ad937b85c106ff3f9e6148904 poeks committed Apr 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/oldrelic/api.rb
View
@@ -5,7 +5,7 @@ class API
attr_accessor :api_key, :conn, :url
HOST = "rpm.newrelic.com"
- VALID_METHOD_NAMES = ["accounts"]
+ VALID_METHOD_NAMES = ["accounts", "api"]
VALID_METHOD_TYPES = ["get", "post", "put", "delete"]
def initialize(api_key)

0 comments on commit 5521b7f

Please sign in to comment.