Class: DotloopApi::Models::Profile
- Inherits:
-
Object
- Object
- DotloopApi::Models::Profile
show all
- Defined in:
- lib/dotloop_api/models/profile.rb,
lib/dotloop_api/models/profile/loop.rb,
lib/dotloop_api/models/profile/loop/detail.rb,
lib/dotloop_api/models/profile/loop/folder.rb,
lib/dotloop_api/models/profile/loop/activity.rb,
lib/dotloop_api/models/profile/loop/tasklist.rb,
lib/dotloop_api/models/profile/loop_template.rb,
lib/dotloop_api/models/profile/loop/tasklist/task.rb,
lib/dotloop_api/models/profile/loop/folder/document.rb
Defined Under Namespace
Classes: Loop, LoopTemplate
Constant Summary
collapse
- PROFILE_TYPES =
%w[ASSOCIATION COMPANY INDIVIDUAL NATIONAL_PARTNER OFFICE TEAM].freeze
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
47
48
49
|
# File 'lib/dotloop_api/models/profile.rb', line 47
def client
@client
end
|
Instance Method Details
#loop(id) ⇒ Object
53
54
55
|
# File 'lib/dotloop_api/models/profile.rb', line 53
def loop(id)
loop_endpoint.find(id: id)
end
|
#loops(options = {}) ⇒ Object
49
50
51
|
# File 'lib/dotloop_api/models/profile.rb', line 49
def loops(options = {})
loop_endpoint.all(options)
end
|