Class: Dotloop::Models::Profile
- Inherits:
-
Object
- Object
- Dotloop::Models::Profile
- Defined in:
- lib/dotloop/models/profile.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
Instance Method Summary collapse
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
21 22 23 |
# File 'lib/dotloop/models/profile.rb', line 21 def client @client end |
Instance Method Details
#create_loop(data) ⇒ Object
27 28 29 |
# File 'lib/dotloop/models/profile.rb', line 27 def create_loop(data) client.Loop.create(profile_id: id, params: data) end |
#loop_it(data) ⇒ Object
31 32 33 |
# File 'lib/dotloop/models/profile.rb', line 31 def loop_it(data) client.Loop.loop_it(profile_id: id, params: data) end |
#loops ⇒ Object
23 24 25 |
# File 'lib/dotloop/models/profile.rb', line 23 def loops client.Loop.all(profile_id: id) end |