Sha256: 54709a71a1c2161734667b5dce6e4c77d14dce7d94f27c57ff08032276bf0bbf

Contents?: true

Size: 858 Bytes

Versions: 1

Compression:

Stored size: 858 Bytes

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Pages < Vk::Schema::Namespace
      module Methods
        # Allows to clear the cache of particular 'external' pages which may be attached to VK posts.
        class ClearCache < Schema::Method
          # @!group Properties

          self.open = true
          self.method = 'pages.clearCache'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [String] :url Address of the page where you need to refesh the cached version
          #   @return [Pages::Methods::ClearCache]

          # @!group Arguments

          # @return [String] Address of the page where you need to refesh the cached version
          attribute :url, API::Types::Coercible::String.optional
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/pages/methods/clear_cache.rb