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_branch ⇒ CompanyBranchDrop

Returns - The CompanyBranch that the Wolt Profile belongs to.

Returns:

#config_url ⇒ String

Returns - Link to Config.

Returns:

  • (String) —
    • Link to Config.

#id ⇒ Integer

Returns - The ID of the Wolt Profile.

Returns:

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

#integration_initiated_by ⇒ UserDrop?

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_id ⇒ String

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

Returns:

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