Class: DotloopApi::Models::Profile::Loop::Detail

Inherits:
Object
  • Object
show all
Defined in:
lib/dotloop_api/models/profile.rb,
lib/dotloop_api/models/profile/loop/detail.rb

Defined Under Namespace

Classes: ContractDates, ContractInfo, Financials, GeographicDescription, ListingInformation, OfferDates, Participant, Property, PropertyAddress, Referral

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#clientObject

Returns the value of attribute client.



16
17
18
# File 'lib/dotloop_api/models/profile/loop/detail.rb', line 16

def client
  @client
end

#loop_idObject

Returns the value of attribute loop_id.



18
19
20
# File 'lib/dotloop_api/models/profile/loop/detail.rb', line 18

def loop_id
  @loop_id
end

#profile_idObject

Returns the value of attribute profile_id.



17
18
19
# File 'lib/dotloop_api/models/profile/loop/detail.rb', line 17

def profile_id
  @profile_id
end

Instance Method Details

#saveObject



20
21
22
23
24
# File 'lib/dotloop_api/models/profile/loop/detail.rb', line 20

def save
  DotloopApi::EndPoints::Detail.new(
    client: client, profile_id: profile_id, loop_id: loop_id
  ).save(self)
end