Class: C2eCore::Drops::CompanyBranchDrop

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

Instance Method Summary collapse

Constructor Details

#initialize(company_branch) ⇒ CompanyBranchDrop

Returns a new instance of CompanyBranchDrop.

Instance Method Details

#addressC2eCore::Drops::AddressDrop

Returns - Default address of company branch as drop object.

Returns:

#clientCompanyClientDrop

Returns - Company to which company branch belongs as drop object.

Returns:

#config_urlString

Returns - Link to Config.

Returns:

  • (String)
    • Link to Config.

#currencyCurrencyDrop

Returns - Default currency of company branch.

Returns:

#emailString

Returns - Default email of company branch. E.g.: “objednavky@pizzacipola.cz”.

Returns:

  • (String)
    • Default email of company branch. E.g.: “objednavky@pizzacipola.cz”

#idInteger

Returns - ID of company branch in database.

Returns:

  • (Integer)
    • ID of company branch in database

#nameString

Returns - Name of company branch. E.g.: “Pizza Cipola Háje”.

Returns:

  • (String)
    • Name of company branch. E.g.: “Pizza Cipola Háje”

#phoneString

Returns - Default phone number of company branch. E.g.: “420987654321”.

Returns:

  • (String)
    • Default phone number of company branch. E.g.: “420987654321”