Class: FragmentClient::Configuration

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/fragment_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



206
207
208
209
# File 'lib/fragment_client.rb', line 206

def initialize
  @token_expiry_buffer = T.let(120, Integer)
  @logger = T.let(Logger.new($stdout), Logger)
end

Instance Attribute Details

#loggerObject

Returns the value of attribute logger.



203
204
205
# File 'lib/fragment_client.rb', line 203

def logger
  @logger
end

#token_expiry_bufferObject

Returns the value of attribute token_expiry_buffer.



200
201
202
# File 'lib/fragment_client.rb', line 200

def token_expiry_buffer
  @token_expiry_buffer
end