Sha256: 5e7604d8274dd23cbf58ec87e2ad1c3557005ca9db42fd3084b54409cc3b685f
Contents?: true
Size: 637 Bytes
Versions: 89
Compression:
Stored size: 637 Bytes
Contents
# frozen_string_literal: true require 'platform_sdk/id_mapper/client' require 'platform_sdk/id_mapper/models' require 'platform_sdk/id_mapper/constants' module PlatformSdk module IdMapper class Error < StandardError; end class TokenNotSet < Error; end class DomainNotSet < Error; end class PairNotFoundError < Error; end def self.token raise TokenNotSet if @token.nil? @token end def self.token=(token) @token = token end def self.domain raise DomainNotSet if @domain.nil? @domain end def self.domain=(domain) @domain = domain end end end
Version data entries
89 entries across 89 versions & 1 rubygems