Class: AccountDrop

Inherits:
Liquid::Simplero::Drop show all
Defined in:
app/drops/account_drop.rb

Overview

account refers to the site/product owner's account being displayed.

Instance Method Summary collapse

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#address ⇒ String

Returns:

  • (String)

#address_2 ⇒ String

Returns:

  • (String)

#admin_url ⇒ String

Returns:

  • (String)

#canonical_host ⇒ String

Returns:

  • (String)

#canonical_url ⇒ String

Returns:

  • (String)

#cart_url ⇒ String

Returns:

  • (String)

#city ⇒ String

Returns:

  • (String)

#company_name ⇒ String

Returns:

  • (String)

Returns:

  • (String)

#country_code ⇒ String

Returns:

  • (String)

#country_name ⇒ String

Returns:

  • (String)

#courses ⇒ Object

#current_time ⇒ DateTime

Returns:

  • (DateTime)

#facebook_app_id ⇒ String

Returns:

  • (String)

#feature_flags ⇒ FeatureFlagSetDrop

Returns:

#first_day_of_week ⇒ Integer

Returns 0 or 1. 0 is Sunday, 1 is Monday.

Returns:

  • (Integer)

Returns:

  • (Boolean)

#handle ⇒ String

Returns:

  • (String)

#host ⇒ String

Returns:

  • (String)

#instagram_access_token ⇒ String

Returns:

  • (String)

Returns:

  • (String)

#lists ⇒ CollectionDrop

Returns:

#main_list ⇒ List

Returns:

  • (List)

#name ⇒ String

Returns:

  • (String)

#not_finished_event_occurrences ⇒ CollectionDrop

Returns all upcoming and not finished EventOccurrenceDrops for the account.

Returns:

#not_finished_event_occurrences_with_fixed_time ⇒ CollectionDrop

Returns all upcoming and not finished non recurring EventOccurrenceDrops for the account.

Returns:

#payment_methods ⇒ Array<String>

Returns:

  • (Array<String>)

#phone_number ⇒ String

Returns:

  • (String)

#plan ⇒ PlanDrop

Returns:

#postal_code ⇒ String

Returns:

  • (String)

#powered_by? ⇒ Boolean

Returns:

  • (Boolean)

#product_categories ⇒ Array<ProductCategoryDrop>

Returns all ProductCategoryDrops which has for the account.

Returns:

#products ⇒ CollectionDrop

Returns all listed ProductDrops available to the current user.

Returns:

#products_url ⇒ String

Returns:

  • (String)

#region_code ⇒ String

Returns:

  • (String)

#region_name ⇒ String

Returns:

  • (String)

#render_address_html ⇒ String

Returns:

  • (String)

#site ⇒ SiteDrop

Returns:

#support_email ⇒ String

Returns:

  • (String)

#tag_line ⇒ String

Returns:

  • (String)

#terms ⇒ String

Returns:

  • (String)

#terms_url ⇒ String

Returns:

  • (String)

#upcoming_event_occurrences ⇒ CollectionDrop

Returns all upcoming EventOccurrenceDrops for the account.

Returns:

#upcoming_event_occurrences_for_calendar ⇒ Object

#upcoming_event_occurrences_with_fixed_time ⇒ CollectionDrop

Returns all upcoming non recurring EventOccurrenceDrops for the account.

Returns:

#url ⇒ String

Returns:

  • (String)