Sha256: 3766a4206efcd4928fe3d423b997296064040107488ace1d4fd14f40e5fb95bb
Contents?: true
Size: 587 Bytes
Versions: 2
Compression:
Stored size: 587 Bytes
Contents
module Fog module Compute class OracleCloud class Real def list_ip_associations response = request( :expects => 200, :method => 'GET', :path => "/ip/association/Compute-#{@identity_domain}/" ) response end end class Mock def list_ip_associations response = Excon::Response.new ips = self.data[:ip_associations].values response.body = { 'result' => ips } response end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-oraclecloud-0.1.17 | lib/fog/oraclecloud/requests/compute/list_ip_associations.rb |
fog-oraclecloud-0.1.16 | lib/fog/oraclecloud/requests/compute/list_ip_associations.rb |