Class: Ey::Core::Client::Environments

Inherits:
Ey::Core::Collection show all
Defined in:
lib/ey-core/collections/environments.rb

Instance Method Summary collapse

Methods inherited from Ey::Core::Collection

#==, #all, #collection_request, #collection_root, #create!, #each_entry, #each_page, #first, #get, #get!, #last_page, #load, #model_request, #model_root, #new_page, #next_page, #one, #page_parameters, #perform_get, #previous_page

Instance Method Details

#alerting(params = {}) ⇒ Object



10
11
12
13
14
# File 'lib/ey-core/collections/environments.rb', line 10

def alerting(params={})
  connection.environments.load(
    self.connection.get_alerting_environments(params)
  )
end