Class: SiteMemberDrop

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

Overview

current_member refers to the current logged in member making the request on the current SiteDrop. This will be nil if the current UserDrop is not a member or is not logged in.

member refers to the site member being displayed when a site member's profile is accessed.

SiteMemberDrop will contain attributes that are specific to the SiteDrop being accessed. See also CustomerDrop and UserDrop.

Instance Method Summary collapse

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#accessible_groups ⇒ Array<SiteGroupDrop>

Returns:

#any_notifications_subscribed? ⇒ Boolean

Returns:

  • (Boolean)

#avatar_normal_url ⇒ String

Returns:

  • (String)

#avatar_small_url ⇒ String

Returns:

  • (String)

#avatar_thumb_url ⇒ String

Returns:

  • (String)

#badges ⇒ Array<String>

Badges the site member received due to product purchase or list subscription.

Returns:

  • (Array<String>)

#bio ⇒ String

Returns:

  • (String)

#company_url ⇒ String

Returns:

  • (String)

#contributions ⇒ Array<SiteContributionDrop>

Returns the site member's contributions, such as comments and forum posts.

Returns:

#created_at ⇒ Object

#email ⇒ String

Returns:

  • (String)

#engagement_badges ⇒ Array<BadgeDrop>

Returns:

#facebook_name ⇒ String

Returns:

  • (String)

#facebook_url ⇒ String

Returns:

  • (String)

#first_names ⇒ Object

#homepage_url ⇒ String

Returns:

  • (String)

#id ⇒ Object

#last_name ⇒ Object

#name ⇒ Object

#notification_settings_sections ⇒ NotificationSettingsSectionDrop

#notification_subscriptions_path ⇒ Object

#notification_subscriptions_url ⇒ Object

#notifications_path ⇒ Object

#notifications_url ⇒ Object

#path ⇒ String

The path to the site member's profile page.

Returns:

  • (String)

#self? ⇒ Boolean

Returns true if the current user is this site member.

Returns:

  • (Boolean)

#site_uses_badges? ⇒ Boolean

Returns:

  • (Boolean)

#staff? ⇒ Boolean

Returns:

  • (Boolean)

#time_zone ⇒ String

Returns:

  • (String)

#twitter_name ⇒ Object

#twitter_url ⇒ String

Returns:

  • (String)

#unsubscribe_all_notifications_url ⇒ String

Returns:

  • (String)

#url ⇒ String

The URL to the site member's profile page.

Returns:

  • (String)