Sha256: 87f0aeda6ca83fcb587c9a0536d8b068fb316f00bf2ea801d140fd1b02b07a23
Contents?: true
Size: 427 Bytes
Versions: 24
Compression:
Stored size: 427 Bytes
Contents
# frozen_string_literal: true module FinApps 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
24 entries across 24 versions & 1 rubygems