Sha256: e9764398309c99d81814078b05afcfc809dca19a6e4b42f8f7076ad68f5cdafe

Contents?: true

Size: 592 Bytes

Versions: 23

Compression:

Stored size: 592 Bytes

Contents

module Puree
  module Model

    # A minimal representation of a journal.
    #
    class JournalHeader < 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

23 entries across 23 versions & 1 rubygems

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