Sha256: e15f700dd88860fa7dc2091bb9fe5bf9ad6311eb72a3b18e71f917633cfd8bff

Contents?: true

Size: 627 Bytes

Versions: 5

Compression:

Stored size: 627 Bytes

Contents

module Puree

  # Journal resource
  #
  class Journal < Resource

    # @param base_url [String]
    # @param username [String]
    # @param password [String]
    # @param basic_auth [Boolean]
    def initialize(base_url: nil, username: nil, password: nil, basic_auth: nil)
      super(api: :journal,
            base_url: base_url,
            username: username,
            password: password,
            basic_auth: basic_auth)
    end


    # All metadata
    #
    # @return [Hash]
    def metadata
      @metadata
    end


    private

    def combine_metadata
      o = super
      @metadata = o
    end

  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
puree-0.18.0 lib/puree/journal.rb
puree-0.17.1 lib/puree/journal.rb
puree-0.17.0 lib/puree/journal.rb
puree-0.16.1 lib/puree/journal.rb
puree-0.16.0 lib/puree/journal.rb