class Yaks::CollectionResource

A collection of Resource objects, it has members, and its own set of link relations like self and profile describing the collection.

A collection can be the top-level result of an API call, like all posts to a blog, or a subresource collection, like the comments on a post result.

Public Instance Methods

collection?() click to toggle source

@return [Boolean]

# File lib/yaks/collection_resource.rb, line 15
def collection?
  true
end
seq() click to toggle source
# File lib/yaks/collection_resource.rb, line 19
def seq
  self
end