Class: Redox::RedoxClient

Inherits:
Object
  • Object
show all
Defined in:
lib/redox.rb

Overview

Redox API client

Class Method Summary collapse

Class Method Details

.connectionObject



98
99
100
101
# File 'lib/redox.rb', line 98

def connection
  Redox.configuration.token_expiry_padding = 60 if Redox.configuration.token_expiry_padding.nil?
  @connection ||= Connection.new
end

.releaseObject



103
104
105
# File 'lib/redox.rb', line 103

def release
  @connection = nil
end