Class: LWS::Resource::Collection::Post

Inherits:
Item show all
Defined in:
lib/lws/apps/resource.rb

Overview

The collection post class

Direct Known Subclasses

Feed::Post

Instance Attribute Summary collapse

Attributes inherited from Item

#collection, #collection_id, #metadata, #name, #position

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

#authorString

Returns the author of the post.

Returns:

  • (String)

    the author of the post



231
# File 'lib/lws/apps/resource.rb', line 231

attribute :author

#avatarHash

Returns the URL information of the avatar image of the post.

Returns:

  • (Hash)

    the URL information of the avatar image of the post



235
# File 'lib/lws/apps/resource.rb', line 235

attribute :avatar

#categoryString

Returns the category of the post.

Returns:

  • (String)

    the category of the post



239
# File 'lib/lws/apps/resource.rb', line 239

attribute :category

#commentsString

Returns the comments of the post.

Returns:

  • (String)

    the comments of the post



243
# File 'lib/lws/apps/resource.rb', line 243

attribute :comments

#descriptionString

Returns the description of the post.

Returns:

  • (String)

    the description of the post



247
# File 'lib/lws/apps/resource.rb', line 247

attribute :description

#guidString

Returns the GUID of the post.

Returns:

  • (String)

    the GUID of the post



255
# File 'lib/lws/apps/resource.rb', line 255

attribute :guid

#handleString

Returns the handle of the post.

Returns:

  • (String)

    the handle of the post



259
# File 'lib/lws/apps/resource.rb', line 259

attribute :handle

Returns the timestamp of the publication date of the post.

Returns:

  • (String)

    the timestamp of the publication date of the post



263
# File 'lib/lws/apps/resource.rb', line 263

attribute :link

#order_priorityInteger

Returns the order priority of the of the post (ascending; 0 is lowers).

Returns:

  • (Integer)

    the order priority of the of the post (ascending; 0 is lowers)



272
# File 'lib/lws/apps/resource.rb', line 272

attribute :order_priority

#source_urlString

Returns the source URL of the post.

Returns:

  • (String)

    the source URL of the post



280
# File 'lib/lws/apps/resource.rb', line 280

attribute :source_url

#summaryString

Returns the summary of the post.

Returns:

  • (String)

    the summary of the post



284
# File 'lib/lws/apps/resource.rb', line 284

attribute :summary

#titleString

Returns the title of the post.

Returns:

  • (String)

    the title of the post



288
# File 'lib/lws/apps/resource.rb', line 288

attribute :title