Class: SiteMemberDrop
- Inherits:
-
Liquid::Simplero::Drop
- Object
- Liquid::Drop
- Liquid::Simplero::Drop
- SiteMemberDrop
- 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
- #accessible_groups ⇒ Array<SiteGroupDrop>
- #any_notifications_subscribed? ⇒ Boolean
- #avatar_normal_url ⇒ String
- #avatar_small_url ⇒ String
- #avatar_thumb_url ⇒ String
-
#badges ⇒ Array<String>
Badges the site member received due to product purchase or list subscription.
- #bio ⇒ String
- #company_url ⇒ String
-
#contributions ⇒ Array<SiteContributionDrop>
Returns the site member's contributions, such as comments and forum posts.
- #created_at ⇒ Object
- #email ⇒ String
- #engagement_badges ⇒ Array<BadgeDrop>
- #facebook_name ⇒ String
- #facebook_url ⇒ String
- #first_names ⇒ Object
- #homepage_url ⇒ 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.
-
#self? ⇒ Boolean
Returns true if the current user is this site member.
- #site_uses_badges? ⇒ Boolean
- #staff? ⇒ Boolean
- #time_zone ⇒ String
- #twitter_name ⇒ Object
- #twitter_url ⇒ String
- #unsubscribe_all_notifications_url ⇒ String
-
#url ⇒ String
The URL to the site member's profile page.
Methods inherited from Liquid::Simplero::Drop
Instance Method Details
#accessible_groups ⇒ Array<SiteGroupDrop>
#any_notifications_subscribed? ⇒ Boolean
#avatar_normal_url ⇒ String
#avatar_small_url ⇒ String
#avatar_thumb_url ⇒ String
#badges ⇒ Array<String>
Badges the site member received due to product purchase or list subscription.
#bio ⇒ String
#company_url ⇒ String
#contributions ⇒ Array<SiteContributionDrop>
Returns the site member's contributions, such as comments and forum posts.
#created_at ⇒ Object
#email ⇒ String
#engagement_badges ⇒ Array<BadgeDrop>
#facebook_name ⇒ String
#facebook_url ⇒ String
#first_names ⇒ Object
#homepage_url ⇒ 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.
#self? ⇒ Boolean
Returns true if the current user is this site member.
#site_uses_badges? ⇒ Boolean
#staff? ⇒ Boolean
#time_zone ⇒ String
#twitter_name ⇒ Object
#twitter_url ⇒ String
#unsubscribe_all_notifications_url ⇒ String
#url ⇒ String
The URL to the site member's profile page.