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.
184 |
# File 'lib/lws/apps/corporate_website.rb', line 184 belongs_to :account, class_name: "LWS::Auth::Account" |
#account_id ⇒ Integer
Returns the ID of the account used for posting the social page.
188 |
# File 'lib/lws/apps/corporate_website.rb', line 188 attribute :account_id |
#company ⇒ LWS::Auth::Company
Returns the account used for posting the social page.
192 |
# File 'lib/lws/apps/corporate_website.rb', line 192 belongs_to :company, class_name: "LWS::Auth::Company" |
#company_id ⇒ Integer
Returns the ID of the account used for posting the social page.
196 |
# File 'lib/lws/apps/corporate_website.rb', line 196 attribute :company_id |
#provider ⇒ "facebook", ...
Returns the social page provider.
200 |
# File 'lib/lws/apps/corporate_website.rb', line 200 attribute :provider |
#provider_uid ⇒ String
Returns the UID suplied by the social page provider.
204 |
# File 'lib/lws/apps/corporate_website.rb', line 204 attribute :provider_uid |
#uid_type ⇒ "personal", "page"
Returns the social page UID type.
208 |
# File 'lib/lws/apps/corporate_website.rb', line 208 attribute :uid_type |