Method: Fog::Rackspace::Monitoring::Checks#new

Defined in:
lib/fog/rackspace/models/monitoring/checks.rb

#new(attributes = {}) ⇒ Object



27
28
29
30
# File 'lib/fog/rackspace/models/monitoring/checks.rb', line 27

def new(attributes = {})
  requires :entity unless attributes[:entity]
  super({ :entity => entity }.merge!(attributes))
end