Class: Puree::Download

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

Overview

Download resource

Instance Method Summary collapse

Methods inherited from Resource

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

Constructor Details

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

Returns a new instance of Download.

Parameters:

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

    username [String]

  • optional

    password [String]



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

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