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



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

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

.releaseObject



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

def release
  @connection = nil
end