class IBM::Cloud::SDK::IAM::Token

Attributes

access_token[R]
token_type[R]

Public Class Methods

new(token_type, access_token) click to toggle source
# File lib/ibm/cloud/sdk/iam/token.rb, line 6
def initialize(token_type, access_token)
  @token_type   = token_type
  @access_token = access_token
end

Public Instance Methods

authorization_header() click to toggle source
# File lib/ibm/cloud/sdk/iam/token.rb, line 11
def authorization_header
  "#{token_type} #{access_token}"
end