Class: LWS::CorporateWebsite::SocialPage
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::CorporateWebsite::SocialPage
- Defined in:
- lib/lws/apps/corporate_website.rb
Overview
The social page class
Instance Attribute Summary collapse
-
#account ⇒ LWS::Auth::Account
The account used for posting the social page.
-
#account_id ⇒ Integer
The ID of the account used for posting the social page.
-
#company ⇒ LWS::Auth::Company
The account used for posting the social page.
-
#company_id ⇒ Integer
The ID of the account used for posting the social page.
-
#provider ⇒ "facebook", ...
The social page provider.
-
#provider_uid ⇒ String
The UID suplied by the social page provider.
-
#uid_type ⇒ "personal", "page"
The social page UID type.
Attributes inherited from Generic::Model
#created_at, #id, #updated_at, #url, #url_html
Method Summary
Methods inherited from Generic::Model
#deep_dup, #dig, #reload, #rollback, #save
Instance Attribute Details
#account ⇒ LWS::Auth::Account
Returns the account used for posting the social page.
179 |
# File 'lib/lws/apps/corporate_website.rb', line 179 belongs_to :account, class_name: "LWS::Auth::Account" |
#account_id ⇒ Integer
Returns the ID of the account used for posting the social page.
183 |
# File 'lib/lws/apps/corporate_website.rb', line 183 attribute :account_id |
#company ⇒ LWS::Auth::Company
Returns the account used for posting the social page.
187 |
# File 'lib/lws/apps/corporate_website.rb', line 187 belongs_to :company, class_name: "LWS::Auth::Company" |
#company_id ⇒ Integer
Returns the ID of the account used for posting the social page.
191 |
# File 'lib/lws/apps/corporate_website.rb', line 191 attribute :company_id |
#provider ⇒ "facebook", ...
Returns the social page provider.
195 |
# File 'lib/lws/apps/corporate_website.rb', line 195 attribute :provider |
#provider_uid ⇒ String
Returns the UID suplied by the social page provider.
199 |
# File 'lib/lws/apps/corporate_website.rb', line 199 attribute :provider_uid |
#uid_type ⇒ "personal", "page"
Returns the social page UID type.
203 |
# File 'lib/lws/apps/corporate_website.rb', line 203 attribute :uid_type |