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



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

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



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

attribute :avatar

#categoryString

Returns the category of the post.

Returns:

  • (String)

    the category of the post



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

attribute :category

#commentsString

Returns the comments of the post.

Returns:

  • (String)

    the comments of the post



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

attribute :comments

#descriptionString

Returns the description of the post.

Returns:

  • (String)

    the description of the post



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

attribute :description

#guidString

Returns the GUID of the post.

Returns:

  • (String)

    the GUID of the post



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

attribute :guid

#handleString

Returns the handle of the post.

Returns:

  • (String)

    the handle of the post



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

attribute :handle

Returns the timestamp of the publication date of the post.

Returns:

  • (String)

    the timestamp of the publication date of the post



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

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)



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

attribute :order_priority

#source_urlString

Returns the source URL of the post.

Returns:

  • (String)

    the source URL of the post



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

attribute :source_url

#summaryString

Returns the summary of the post.

Returns:

  • (String)

    the summary of the post



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

attribute :summary

#titleString

Returns the title of the post.

Returns:

  • (String)

    the title of the post



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

attribute :title