Class: CustomerxTracking::Base

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

Direct Known Subclasses

Requestor

Instance Method Summary collapse

Instance Method Details

#authorizations_is_not_present?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/customerx_tracking/base.rb', line 7

def authorizations_is_not_present?
  ::CustomerxTracking.credential.nil? || ::CustomerxTracking.key.nil?
end

#connectionObject



3
4
5
# File 'lib/customerx_tracking/base.rb', line 3

def connection
  @connection ||= Faraday.new(faraday_options)
end