Class: C2eCore::Drops::Wolt::ProfileDrop

Inherits:
BaseDrop
  • Object
show all
Defined in:
/build/app/mailers/c2e_core/drops/wolt/profile_drop.rb

Instance Method Summary collapse

Constructor Details

#initialize(profile) ⇒ ProfileDrop

Returns a new instance of ProfileDrop.

Instance Method Details

#company_branchCompanyBranchDrop

Returns - The CompanyBranch that the Wolt Profile belongs to.

Returns:

#config_urlString

Returns - Link to Config.

Returns:

  • (String)
    • Link to Config.

#idInteger

Returns - The ID of the Wolt Profile.

Returns:

  • (Integer)
    • The ID of the Wolt Profile.

#integration_initiated_byUserDrop?

Returns - The user that initiated the onboarding or null if the information is not available.

Returns:

  • (UserDrop, nil)
    • The user that initiated the onboarding or null if the information is not available.

#restaurant_idString

Returns - The ID of the restaurant in Wolt (venue_id).

Returns:

  • (String)
    • The ID of the restaurant in Wolt (venue_id).