Sha256: 0aa6f6691e2b2c0ea83e715290261672be74f2431191095c5366efc0bcd78bf4

Contents?: true

Size: 347 Bytes

Versions: 32

Compression:

Stored size: 347 Bytes

Contents

# frozen_string_literal: true

module FinAppsCore
  module REST
    # represents both tenant and user credentials
    class Credentials
      attr_reader :identifier, :token

      def initialize(identifier, token)
        @identifier = identifier
        @token = token
      end

      def valid?
        !token.nil?
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
finapps_core-6.0.2 lib/finapps_core/rest/credentials.rb
finapps_core-6.0.1 lib/finapps_core/rest/credentials.rb
finapps_core-6.0.0 lib/finapps_core/rest/credentials.rb
finapps_core-5.0.16 lib/finapps_core/rest/credentials.rb
finapps_core-5.0.15 lib/finapps_core/rest/credentials.rb
finapps_core-5.0.14 lib/finapps_core/rest/credentials.rb
finapps_core-5.0.13 lib/finapps_core/rest/credentials.rb
finapps_core-5.0.11 lib/finapps_core/rest/credentials.rb
finapps_core-5.0.10 lib/finapps_core/rest/credentials.rb
finapps_core-5.0.9 lib/finapps_core/rest/credentials.rb
finapps_core-5.0.8 lib/finapps_core/rest/credentials.rb
finapps_core-5.0.7 lib/finapps_core/rest/credentials.rb
finapps_core-5.0.6 lib/finapps_core/rest/credentials.rb
finapps_core-5.0.5 lib/finapps_core/rest/credentials.rb
finapps_core-5.0.4 lib/finapps_core/rest/credentials.rb
finapps_core-5.0.3 lib/finapps_core/rest/credentials.rb
finapps_core-5.0.2 lib/finapps_core/rest/credentials.rb
finapps_core-5.0.1 lib/finapps_core/rest/credentials.rb
finapps_core-5.0.0 lib/finapps_core/rest/credentials.rb
finapps_core-4.0.7 lib/finapps_core/rest/credentials.rb