class IBM::Cloud::SDK::Tags

A collection interface into the Tags API.

Attributes

connection[R]
logger[R]
token[R]

Public Class Methods

new(connection, token, logger: nil) click to toggle source
# File lib/ibm/cloud/sdk/tags.rb, line 12
def initialize(connection, token, logger: nil) # rubocop:disable Lint/MissingSuper
  @token = token
  @connection = connection

  @logger = logger || Logger.new($stdout, level: :warn)
  @array_key = 'items'
end

Public Instance Methods

endpoint() click to toggle source
# File lib/ibm/cloud/sdk/tags.rb, line 22
def endpoint
  'https://tags.global-search-tagging.cloud.ibm.com/v3/tags'
end