Sha256: eb656b846716ced16defb37065b2a3bc480c784abe2869b603c59fc81891a9ba

Contents?: true

Size: 605 Bytes

Versions: 26

Compression:

Stored size: 605 Bytes

Contents

module Puree
  module Model

    # A minimal representation of related content.
    #
    class RelatedContentHeader < Puree::Model::Structure

      # @return [String, nil]
      attr_reader :uuid

      # @return [String, nil]
      attr_reader :title

      # @return [String, nil]
      attr_reader :type

      # @param v [String]
      def uuid=(v)
        @uuid = v if v && !v.empty?
      end

      # @param v [String]
      def title=(v)
        @title = v if v && !v.empty?
      end

      # @param v [String]
      def type=(v)
        @type = v if v && !v.empty?
      end

    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
puree-2.9.2 lib/puree/model/related_content_header.rb
puree-2.9.1 lib/puree/model/related_content_header.rb
puree-2.9.0 lib/puree/model/related_content_header.rb
puree-2.8.1 lib/puree/model/related_content_header.rb
puree-2.8.0 lib/puree/model/related_content_header.rb
puree-2.7.0 lib/puree/model/related_content_header.rb
puree-2.6.0 lib/puree/model/related_content_header.rb
puree-2.5.1 lib/puree/model/related_content_header.rb
puree-2.5.0 lib/puree/model/related_content_header.rb
puree-2.4.0 lib/puree/model/related_content_header.rb
puree-2.3.0 lib/puree/model/related_content_header.rb
puree-2.2.0 lib/puree/model/related_content_header.rb
puree-1.9.1 lib/puree/model/related_content_header.rb
puree-2.1.1 lib/puree/model/related_content_header.rb
puree-2.1.0 lib/puree/model/related_content_header.rb
puree-1.9.0 lib/puree/model/related_content_header.rb
puree-1.8.0 lib/puree/model/related_content_header.rb
puree-2.0.0 lib/puree/model/related_content_header.rb
puree-1.7.0 lib/puree/model/related_content_header.rb
puree-1.6.0 lib/puree/model/related_content_header.rb