Class: DocusignDtr::Models::Room
- Inherits:
-
Object
- Object
- DocusignDtr::Models::Room
- Defined in:
- lib/docusign_dtr/models/room.rb
Constant Summary collapse
- ACCEPTABLE_VALUES =
{ room_status: %w[ Active Pending Closed Open ], transaction_side: %w[ buy sell listbuy refi ], sort: [ 'RoomName', 'RoomName desc', 'CreatedDate', 'CreatedDate desc', 'ExpectedClosingDate', 'ExpectedClosingDate desc', 'LastUpdatedDate', 'LastUpdatedDate desc', 'ClosedDate', 'ClosedDate desc' ], date_range_type: %w[ Created LastUpdated Closed ] }.freeze
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.
30 31 32 |
# File 'lib/docusign_dtr/models/room.rb', line 30 def client @client end |
Instance Method Details
#documents ⇒ Object
64 65 66 67 68 |
# File 'lib/docusign_dtr/models/room.rb', line 64 def documents return [] unless room_id ::DocusignDtr::Document.new(client:).all_by_room_id(room_id) end |
#task_lists ⇒ Object
70 71 72 73 74 |
# File 'lib/docusign_dtr/models/room.rb', line 70 def task_lists return [] unless room_id ::DocusignDtr::TaskList.new(client:).all_by_room_id(room_id) end |
#users ⇒ Object
76 77 78 79 80 |
# File 'lib/docusign_dtr/models/room.rb', line 76 def users return [] unless room_id ::DocusignDtr::User.new(client:).all_by_room_id(room_id) end |