Sha256: 474da45a545651c390965539d08dae9b7eac51fab1d9dec413d4a1ac32b30997

Contents?: true

Size: 750 Bytes

Versions: 30

Compression:

Stored size: 750 Bytes

Contents

module Fog
  module DNS
    class OpenStack
      class V2
        class Real
          def get_zone_transfer_accept(zone_transfer_accept_id)
            request(
              :expects => 200,
              :method  => 'GET',
              :path    => "zones/tasks/transfer_requests/#{zone_transfer_accept_id}"
            )
          end
        end

        class Mock
          def get_zone_transfer_accept(zone_transfer_accept_id)
            response = Excon::Response.new
            response.status = 200
            accept = data[:zone_transfer_accepts]["transfer_accepts"].first
            accept["id"] = zone_transfer_accept_id
            response.body = accept
            response
          end
        end
      end
    end
  end
end

Version data entries

30 entries across 28 versions & 3 rubygems

Version Path
fog-openstack-0.1.31 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-openstack-0.3.10 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-openstack-0.1.30 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-openstack-0.1.29 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-openstack-0.3.9 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-openstack-0.1.28 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-openstack-0.3.8 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-openstack-0.3.7 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-openstack-0.3.6 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-openstack-0.3.5 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-openstack-0.3.4 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-openstack-0.3.3 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-openstack-0.3.2 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-openstack-0.3.0 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-openstack-0.2.4 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-openstack-0.2.3 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-openstack-0.2.2 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-openstack-0.2.1 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-openstack-0.2.0 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb
fog-zj-0.1.28 lib/fog/dns/openstack/v2/requests/get_zone_transfer_accept.rb