Module: NRRC::Routes::Common

Included in:
Applications, Browser_Applications, Components, Key_Transactions, Mobile_applications, Notification_Channels, Plugins, Servers, Users
Defined in:
lib/new_relic_rest_client/common_routes.rb

Defined Under Namespace

Modules: Metrics, Unsafe

Instance Method Summary collapse

Instance Method Details

#list(params = {}) ⇒ Object



4
5
6
# File 'lib/new_relic_rest_client/common_routes.rb', line 4

def list params={}
  get_action({url:"#{@url_base}.json"},params)
end

#show(id) ⇒ Object



8
9
10
# File 'lib/new_relic_rest_client/common_routes.rb', line 8

def show id
  get_action(url: "#{url id}.json")
end