Sha256: 86d2fd6a050f27cd5c73f3c6f39aaaaa5e75042d1d4c9876aea746b546fa6916
Contents?: true
Size: 500 Bytes
Versions: 4
Compression:
Stored size: 500 Bytes
Contents
module Fog module Introspection class HuaweiCloud class Real def get_rules(rule_id) request( :expects => 200, :method => 'GET', :path => "rules/#{rule_id}" ) end end class Mock def get_rules(_rule_id) response = Excon::Response.new response.status = 200 response.body = {"rules" => data[:rules].first} response end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems