Sha256: 2c8500b44255563575e355feb157a5d4d5d5755cfb15632f8cb53d7854732abd

Contents?: true

Size: 491 Bytes

Versions: 8

Compression:

Stored size: 491 Bytes

Contents

require 'rackspace-fog/core/model'
require 'rackspace-monitoring/monitoring/models/base'

module Fog
  module Monitoring
    class Rackspace
      class AlarmExample < Fog::Monitoring::Rackspace::Base

        identity :id

        attribute :label
        attribute :description
        attribute :check_type
        attribute :criteria
        attribute :fields


        attribute :bound_criteria

        def bound?
          !bound_criteria.nil?
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rackspace-monitoring-0.2.18 lib/rackspace-monitoring/monitoring/models/alarm_example.rb
rackspace-monitoring-0.2.15 lib/rackspace-monitoring/monitoring/models/alarm_example.rb
rackspace-monitoring-0.2.14 lib/rackspace-monitoring/monitoring/models/alarm_example.rb
rackspace-monitoring-0.2.13 lib/rackspace-monitoring/monitoring/models/alarm_example.rb
rackspace-monitoring-0.2.12 lib/rackspace-monitoring/monitoring/models/alarm_example.rb
rackspace-monitoring-0.2.11 lib/rackspace-monitoring/monitoring/models/alarm_example.rb
rackspace-monitoring-0.2.10 lib/rackspace-monitoring/monitoring/models/alarm_example.rb
rackspace-monitoring-0.2.9 lib/rackspace-monitoring/monitoring/models/alarm_example.rb