Sha256: 7f7fc3d29d5d4219ed690f92d494ef2b1c3d02308315a710cc3e7a33fee20732

Contents?: true

Size: 764 Bytes

Versions: 1

Compression:

Stored size: 764 Bytes

Contents

class Landslider

	# search criteria for getTasks
	class WsTaskSearch < WsSearch
		
		# @return [Integer]
		attr_writer :assigned_to, :created_by, :task_type_id, :associated_entity_id, :associated_contact_id

		# @return [Date]
		attr_writer :updated_on
		
		# @param [Handsoap::XmlMason::Node] msg
		# @return [Handsoap::XmlMason::Node]
		def soapify_for(msg)
			super(msg)
			msg.add 'assignedTo', @assigned_to unless @assigned_to.nil?
			msg.add 'createdBy', @created_by unless @created_by.nil?
			msg.add 'taskTypeId', @task_type_id unless @task_type_id.nil?
			msg.add 'associatedContactId', @associated_contact_id unless @associated_contact_id.nil?
			msg.add 'associatedEntityId', @associated_entity_id unless @associated_entity_id.nil?
		end
		
	end
	
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
landslider-0.5.28 lib/landslider/entities/ws_task_search.rb