Class: Dotloop::Models::Document
- Inherits:
-
Object
- Object
- Dotloop::Models::Document
- Defined in:
- lib/dotloop/models/document.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
-
#folder_id ⇒ Object
Returns the value of attribute folder_id.
-
#loop_id ⇒ Object
Returns the value of attribute loop_id.
-
#profile_id ⇒ Object
Returns the value of attribute profile_id.
Instance Method Summary collapse
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
12 13 14 |
# File 'lib/dotloop/models/document.rb', line 12 def client @client end |
#folder_id ⇒ Object
Returns the value of attribute folder_id.
15 16 17 |
# File 'lib/dotloop/models/document.rb', line 15 def folder_id @folder_id end |
#loop_id ⇒ Object
Returns the value of attribute loop_id.
14 15 16 |
# File 'lib/dotloop/models/document.rb', line 14 def loop_id @loop_id end |
#profile_id ⇒ Object
Returns the value of attribute profile_id.
13 14 15 |
# File 'lib/dotloop/models/document.rb', line 13 def profile_id @profile_id end |
Instance Method Details
#download ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'lib/dotloop/models/document.rb', line 17 def download client.Document.get( profile_id: profile_id, loop_id: loop_id, folder_id: folder_id, document_id: id ) end |