Class: Dotloop::Models::Profile

Inherits:
Object
  • Object
show all
Defined in:
lib/dotloop/models/profile.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#clientObject

Returns the value of attribute client.



21
22
23
# File 'lib/dotloop/models/profile.rb', line 21

def client
  @client
end

Instance Method Details

#employeesObject



27
28
29
# File 'lib/dotloop/models/profile.rb', line 27

def employees
  client.Employee.all(profile_id: profile_id)
end

#loopsObject



23
24
25
# File 'lib/dotloop/models/profile.rb', line 23

def loops
  client.Loop.all(profile_id: profile_id)
end