The following summarizes the commonly used methods of the Tealium class for the Ruby library.
Initialize the Tealium instance. Called via Tealium.new
Initialize the Tealium instance.
initialize(account, profile, datasource)
Tealium account name
Tealium profile name
Tealium data source key from UDH (nil if none provided)
When you call the method new on the Tealium class, as in Tealium.new, the class creates a new instance of itself. It will then, internally, call the initialize() method on the new object. Doing so it will simply pass all the arguments that you passed to new on to the initialize() method.