Class: Puree::Journal

Inherits:
Resource show all
Defined in:
lib/puree/journal.rb

Overview

Journal resource

Instance Method Summary collapse

Methods inherited from Resource

#content, #created, #get, #modified, #response, #set_content, #uuid

Constructor Details

#initialize(endpoint: nil, username: nil, password: nil) ⇒ Journal

Returns a new instance of Journal.

Parameters:

  • endpoint (String) (defaults to: nil)
  • optional

    username [String]

  • optional

    password [String]



10
11
12
13
14
15
# File 'lib/puree/journal.rb', line 10

def initialize(endpoint: nil, username: nil, password: nil)
  super(api: :journal,
        endpoint: endpoint,
        username: username,
        password: password)
end

Instance Method Details

#metadataHash

All metadata

Returns:

  • (Hash)


20
21
22
# File 'lib/puree/journal.rb', line 20

def 
  super
end