Sha256: ad1498b11528dc28810adb0316a1d5af705c4ce45c0fb755132c9d579cb321a6
Contents?: true
Size: 498 Bytes
Versions: 47
Compression:
Stored size: 498 Bytes
Contents
module Fog module Introspection class OpenStack 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
47 entries across 45 versions & 3 rubygems