Sha256: 82cf946d61a2c625f71108942d413cd728d1abe6910bac34542a5437351adcff

Contents?: true

Size: 424 Bytes

Versions: 3

Compression:

Stored size: 424 Bytes

Contents

class Ey::Core::Client::Environments < Ey::Core::Collection

  model Ey::Core::Client::Environment

  self.model_root         = "environment"
  self.model_request      = :get_environment
  self.collection_root    = "environments"
  self.collection_request = :get_environments

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ey-core-3.6.6 lib/ey-core/collections/environments.rb
ey-core-3.4.5 lib/ey-core/collections/environments.rb
ey-core-3.6.5 lib/ey-core/collections/environments.rb