Class: CustomerDrop
- Inherits:
-
Liquid::Simplero::Drop
- Object
- Liquid::Drop
- Liquid::Simplero::Drop
- CustomerDrop
- Defined in:
- app/drops/customer_drop.rb
Overview
current_customer
refers to the contact making the request. This will be nil if the current UserDrop is not a contact on the account or is not logged in. CustomerDrop will contain attributes that are specific to the account being accessed. See also SiteMemberDrop and UserDrop.
Instance Method Summary collapse
- #commission_percent ⇒ Float
- #credits ⇒ Array
- #customer_acquisition_cost_cents_excl_tax ⇒ Integer
- #do_not_contact ⇒ Boolean
- #do_not_contact? ⇒ Boolean
- #email ⇒ String
-
#fields ⇒ CustomFieldsDrop
Returns an object where custom fields (those you define on your account) can be looked up using the interpolation key you defined.
- #first_names ⇒ String
- #geo_ip ⇒ String
- #last_name ⇒ String
- #lat ⇒ Float
- #lead_acquisition_cost_cents_excl_tax ⇒ Integer
- #lead_score ⇒ Integer
- #lifetime_value_cents_excl_tax ⇒ Integer
- #lng ⇒ Float
- #name ⇒ String
- #notes ⇒ CollectionDrop
- #own_ref ⇒ String
- #ref ⇒ String
- #referrer ⇒ String
- #signup_ip ⇒ String
- #String ⇒ utm_keyword_first
- #tag_names ⇒ String
- #tags ⇒ CollectionDrop
- #track ⇒ String
- #user ⇒ UserDrop
- #utm_adgroup_first ⇒ String
- #utm_adgroup_last ⇒ String
- #utm_campaign_first ⇒ String
- #utm_campaign_last ⇒ String
- #utm_content_first ⇒ String
- #utm_content_last ⇒ String
- #utm_keyword_first ⇒ Object
- #utm_keyword_last ⇒ String
- #utm_medium_first ⇒ String
- #utm_medium_last ⇒ String
- #utm_source_first ⇒ String
- #utm_source_last ⇒ String
- #utm_term_first ⇒ String
- #utm_term_last ⇒ String
Methods inherited from Liquid::Simplero::Drop
Instance Method Details
#commission_percent ⇒ Float
#credits ⇒ Array
#customer_acquisition_cost_cents_excl_tax ⇒ Integer
#do_not_contact ⇒ Boolean
#do_not_contact? ⇒ Boolean
#email ⇒ String
#fields ⇒ CustomFieldsDrop
Returns an object where custom fields (those you define on your account) can be looked up using the interpolation key you defined. Ex: current_customer.fields.birth_date
.