class FinAppsCore::REST::Credentials

represents both tenant and user credentials

Attributes

identifier[R]
token[R]

Public Class Methods

new(identifier, token) click to toggle source
   # File lib/finapps_core/rest/credentials.rb
 9 def initialize(identifier, token)
10   @identifier = identifier
11   @token = token
12 end

Public Instance Methods

valid?() click to toggle source
   # File lib/finapps_core/rest/credentials.rb
14 def valid?
15   !token.nil?
16 end