Class: LWS::CorporateWebsite::SocialPage

Inherits:
Generic::Model show all
Defined in:
lib/lws/apps/corporate_website.rb

Overview

The social page class

Instance Attribute Summary collapse

Instance Attribute Details

#accountLWS::Auth::Account

Returns the account used for posting the social page.

Returns:



184
# File 'lib/lws/apps/corporate_website.rb', line 184

belongs_to :account, class_name: "LWS::Auth::Account"

#account_idFixnum

Returns the ID of the account used for posting the social page.

Returns:

  • (Fixnum)

    the ID of the account used for posting the social page



188
# File 'lib/lws/apps/corporate_website.rb', line 188

attribute :account_id

#companyLWS::Auth::Company

Returns the account used for posting the social page.

Returns:



192
# File 'lib/lws/apps/corporate_website.rb', line 192

belongs_to :company, class_name: "LWS::Auth::Company"

#company_idFixnum

Returns the ID of the account used for posting the social page.

Returns:

  • (Fixnum)

    the ID of the account used for posting the social page



196
# File 'lib/lws/apps/corporate_website.rb', line 196

attribute :company_id

#created_atString (readonly)

Returns the timestamp of when the social page was created.

Returns:

  • (String)

    the timestamp of when the social page was created



212
# File 'lib/lws/apps/corporate_website.rb', line 212

attribute :created_at

#idFixnum (readonly)

Returns the (unique) ID of the social page.

Returns:

  • (Fixnum)

    the (unique) ID of the social page



180
# File 'lib/lws/apps/corporate_website.rb', line 180

attribute :id

#provider"facebook", ...

Returns the social page provider.

Returns:

  • ("facebook", "linkedin", "twitter", nil)

    the social page provider



200
# File 'lib/lws/apps/corporate_website.rb', line 200

attribute :provider

#provider_uidString

Returns the UID suplied by the social page provider.

Returns:

  • (String)

    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.

Returns:

  • ("personal", "page")

    the social page UID type



208
# File 'lib/lws/apps/corporate_website.rb', line 208

attribute :uid_type

#updated_atString (readonly)

Returns the timestamp of when the social page was last updated.

Returns:

  • (String)

    the timestamp of when the social page was last updated



216
# File 'lib/lws/apps/corporate_website.rb', line 216

attribute :updated_at