class Delhivery::BaseService

Private Class Methods

connection() click to toggle source
# File lib/delhivery/services/base_service.rb, line 5
def connection
  @connection || 
    Delhivery::Connection.new(
      api_key: Delhivery.configuration.api_key,
      production: Delhivery.configuration.production
    )
end