Method: BactracsService#initialize

Defined in:
lib/bactracs_service.rb

#initializeBactracsService



9
10
11
12
13
14
15
# File 'lib/bactracs_service.rb', line 9

def initialize
  @username = SolidusBactracs.configuration.authentication_username
  @password = SolidusBactracs.configuration.authentication_password
  @runner = SolidusBactracs::Api::RequestRunner.new
  # Authenticate account
  authenticate!
end