Sha256: 7209ac309de8cb6be4bffbf8d98c23c10ba0dd7d6f2e490511293d2c6be8be4a

Contents?: true

Size: 358 Bytes

Versions: 4

Compression:

Stored size: 358 Bytes

Contents

module Fog
  module Monitoring
    class HuaweiCloud
      class Real
        def get_alarm(id)
          request(
            :expects => [200],
            :method  => 'GET',
            :path    => "alarms/#{id}"
          )
        end
      end

      class Mock
        # def get_alarm(options = {})
        #
        # end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-huaweicloud-0.0.3 lib/fog/monitoring/huaweicloud/requests/get_alarm.rb
fog-huaweicloud-0.0.2 lib/fog/monitoring/huaweicloud/requests/get_alarm.rb
fog-huaweicloud-0.1.3 lib/fog/monitoring/huaweicloud/requests/get_alarm.rb
fog-huaweicloud-0.1.2 lib/fog/monitoring/huaweicloud/requests/get_alarm.rb