Class: Dotloop::Models::Loop
- Inherits:
-
Object
- Object
- Dotloop::Models::Loop
- Defined in:
- lib/dotloop/models/loop.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
-
#profile_id ⇒ Object
Returns the value of attribute profile_id.
Instance Method Summary collapse
- #activities ⇒ Object
- #detail ⇒ Object
- #documents ⇒ Object
- #folders ⇒ Object
- #participants ⇒ Object
- #tasks ⇒ Object
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
14 15 16 |
# File 'lib/dotloop/models/loop.rb', line 14 def client @client end |
#profile_id ⇒ Object
Returns the value of attribute profile_id.
15 16 17 |
# File 'lib/dotloop/models/loop.rb', line 15 def profile_id @profile_id end |
Instance Method Details
#activities ⇒ Object
21 22 23 |
# File 'lib/dotloop/models/loop.rb', line 21 def activities client.LoopActivity.all(profile_id: profile_id, loop_view_id: loop_view_id) end |
#detail ⇒ Object
17 18 19 |
# File 'lib/dotloop/models/loop.rb', line 17 def detail client.Loop.detail(profile_id: profile_id, loop_view_id: loop_view_id) end |
#documents ⇒ Object
33 34 35 |
# File 'lib/dotloop/models/loop.rb', line 33 def documents client.Document.all(profile_id: profile_id, loop_view_id: loop_view_id) end |
#folders ⇒ Object
29 30 31 |
# File 'lib/dotloop/models/loop.rb', line 29 def folders client.Folder.all(profile_id: profile_id, loop_view_id: loop_view_id) end |
#participants ⇒ Object
37 38 39 |
# File 'lib/dotloop/models/loop.rb', line 37 def participants client.Participant.all(profile_id: profile_id, loop_view_id: loop_view_id) end |
#tasks ⇒ Object
25 26 27 |
# File 'lib/dotloop/models/loop.rb', line 25 def tasks client.Task.all(profile_id: profile_id, loop_view_id: loop_view_id) end |