Class: Chef::Knife::NotificationList
- Inherits:
-
ChefAnalytics::Knife
- Object
- ChefAnalytics::Knife
- Chef::Knife::NotificationList
- Defined in:
- lib/chef/knife/notification_list.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
35 36 37 38 39 40 41 42 |
# File 'lib/chef/knife/notification_list.rb', line 35 def run validate_and_set_params @rest = ChefAnalytics::ServerAPI.new(analytics_server_url, fetch_token) notifications = @rest.get("aliases") output(notifications) end |