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_groupsArray<SiteGroupDrop>

Returns:

#any_notifications_subscribed?Boolean

Returns:

  • (Boolean)

#avatar_normal_urlString

Returns:

  • (String)

#avatar_small_urlString

Returns:

  • (String)

#avatar_thumb_urlString

Returns:

  • (String)

#badgesArray<String>

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

Returns:

  • (Array<String>)

#bioString

Returns:

  • (String)

#company_urlString

Returns:

  • (String)

#contributionsArray<SiteContributionDrop>

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

Returns:

#created_atObject

#emailString

Returns:

  • (String)

#engagement_badgesArray<BadgeDrop>

Returns:

#facebook_nameString

Returns:

  • (String)

#facebook_urlString

Returns:

  • (String)

#first_namesObject

#homepage_urlString

Returns:

  • (String)

#idObject

#last_nameObject

#nameObject

#notification_settings_sectionsNotificationSettingsSectionDrop

#notification_subscriptions_pathObject

#notification_subscriptions_urlObject

#notifications_pathObject

#notifications_urlObject

#pathString

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_zoneString

Returns:

  • (String)

#twitter_nameObject

#twitter_urlString

Returns:

  • (String)

#unsubscribe_all_notifications_urlString

Returns:

  • (String)

#urlString

The URL to the site member's profile page.

Returns:

  • (String)