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.
-
#loop_view_id ⇒ Object
Returns the value of attribute loop_view_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.
15 16 17 |
# File 'lib/dotloop/models/document.rb', line 15 def client @client end |
#loop_view_id ⇒ Object
Returns the value of attribute loop_view_id.
17 18 19 |
# File 'lib/dotloop/models/document.rb', line 17 def loop_view_id @loop_view_id end |
#profile_id ⇒ Object
Returns the value of attribute profile_id.
16 17 18 |
# File 'lib/dotloop/models/document.rb', line 16 def profile_id @profile_id end |
Instance Method Details
#activities ⇒ Object
19 20 21 |
# File 'lib/dotloop/models/document.rb', line 19 def activities client.DocumentActivity.all(profile_id: profile_id, document_id: document_id) end |
#get ⇒ Object
23 24 25 26 27 28 29 30 |
# File 'lib/dotloop/models/document.rb', line 23 def get client.Document.get( profile_id: profile_id, loop_view_id: loop_view_id, document_id: document_id, document_name: document_name ) end |