module Aws::Api::Docs::Crosslink

Constants

EXCLUDE_UIDS

Public Class Methods

tag_string(uid, name) click to toggle source
# File lib/aws-sdk-core/api/docs/crosslink.rb, line 24
def self.tag_string(uid, name)
  path = "#{ENV['BASEURL']}goto/WebAPI/#{uid}/#{name}"
  "@see #{path} AWS API Documentation"
end
taggable?(uid) click to toggle source
# File lib/aws-sdk-core/api/docs/crosslink.rb, line 29
def self.taggable?(uid)
  uid && ENV['BASEURL'] && !exclude?(uid)
end

Private Class Methods

exclude?(uid) click to toggle source
# File lib/aws-sdk-core/api/docs/crosslink.rb, line 34
def self.exclude?(uid)
  EXCLUDE_UIDS.any? do |service|
    uid.match(/^#{service}/)
  end
end