Sha256: 90e2a8ccddc71eb4eb192ae0aeb5cc13bbd349129edfb82d274bb7504dc2b546
Contents?: true
Size: 431 Bytes
Versions: 14
Compression:
Stored size: 431 Bytes
Contents
# frozen_string_literal: true module FinAppsCore module REST # represents both tenant and user credentials class Credentials using ObjectExtensions using StringExtensions attr_reader :identifier, :token def initialize(identifier, token) @identifier = identifier @token = token end def valid? identifier.present? && token.present? end end end end
Version data entries
14 entries across 14 versions & 1 rubygems