Sha256: 365e3500d7abb0e24d9421da2b9e3026045dc45035d9967891b1ff13caa0038d

Contents?: true

Size: 690 Bytes

Versions: 20

Compression:

Stored size: 690 Bytes

Contents

require 'fog/openstack/models/collection'
require 'fog/openstack/dns/v2/models/zone_transfer_accept'

module Fog
  module OpenStack
    class DNS
      class V2
        class ZoneTransferAccepts < Fog::OpenStack::Collection
          model Fog::OpenStack::DNS::V2::ZoneTransferAccept

          def all(options = {})
            load_response(service.list_zone_transfer_accepts(options), 'transfer_accepts')
          end

          def find_by_id(id)
            zone_transfer_accept_hash = service.get_zone_transfer_accept(id).body
            new(zone_transfer_accept_hash.merge(:service => service))
          end

          alias get find_by_id
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 3 rubygems

Version Path
fog-openstack-1.1.3 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-1.1.2 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-fork-99 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-1.1.0 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-1.1.0.pre lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-apibank-1.0.102 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-1.0.11 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-apibank-1.0.101 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-1.0.10 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-1.0.9 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-1.0.8 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-1.0.7 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-1.0.6 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-1.0.5 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-1.0.4 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-1.0.3 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-1.0.2 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-1.0.1 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-1.0.0 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb
fog-openstack-0.3.1 lib/fog/openstack/dns/v2/models/zone_transfer_accepts.rb