Sha256: 1a489127ab128ed1dfd07ecf1c9b8139f6ecb5d4dd1c5446ecf73b5116b99d6e

Contents?: true

Size: 775 Bytes

Versions: 21

Compression:

Stored size: 775 Bytes

Contents

module Fog
  module DNS
    class Google
      ##
      # Enumerates the list of Changes.
      #
      # @see https://developers.google.com/cloud-dns/api/v1/changes/list
      class Real
        def list_changes(zone_name_or_id, max_results: nil, page_token: nil,
                         sort_by: nil, sort_order: nil)
          @dns.list_changes(
            @project, zone_name_or_id,
            :max_results => max_results,
            :page_token => page_token,
            :sort_by => sort_by,
            :sort_order => sort_order
          )
        end
      end

      class Mock
        def list_changes(_zone_name_or_id, _opts = {})
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
fog-google-1.24.1 lib/fog/dns/google/requests/list_changes.rb
fog-google-1.24.0 lib/fog/dns/google/requests/list_changes.rb
fog-google-1.23.0 lib/fog/dns/google/requests/list_changes.rb
fog-google-1.22.0 lib/fog/dns/google/requests/list_changes.rb
fog-google-1.21.1 lib/fog/dns/google/requests/list_changes.rb
fog-google-1.21.0 lib/fog/dns/google/requests/list_changes.rb
fog-google-1.20.0 lib/fog/dns/google/requests/list_changes.rb
fog-google-1.19.0 lib/fog/dns/google/requests/list_changes.rb
fog-google-1.18.0 lib/fog/dns/google/requests/list_changes.rb
fog-google-1.17.0 lib/fog/dns/google/requests/list_changes.rb
fog-google-1.16.1 lib/fog/dns/google/requests/list_changes.rb
fog-google-1.16.0 lib/fog/dns/google/requests/list_changes.rb
fog-google-1.15.0 lib/fog/dns/google/requests/list_changes.rb
fog-google-1.14.0 lib/fog/dns/google/requests/list_changes.rb
gitlab-fog-google-1.14.0 lib/fog/dns/google/requests/list_changes.rb
fog-google-1.13.0 lib/fog/dns/google/requests/list_changes.rb
gitlab-fog-google-1.13.0 lib/fog/dns/google/requests/list_changes.rb
fog-google-1.12.1 lib/fog/dns/google/requests/list_changes.rb
fog-google-1.12.0 lib/fog/dns/google/requests/list_changes.rb
fog-google-1.11.0 lib/fog/dns/google/requests/list_changes.rb