Sha256: 15b6fe0ef79144bf7b31271a35e8ab20547448e583a5e816ce7412aec3507d06

Contents?: true

Size: 719 Bytes

Versions: 13

Compression:

Stored size: 719 Bytes

Contents

class Landslider

	# search criteria for getContacts
	class WsContactSearch < WsSearch
		
		# @return [String]
		attr_writer :city, :company_name, :email, :title, :first_name
		
		# @return [String]
		attr_writer :middle_initial, :last_name, :home_phone, :work_phone, :cell_phone
		
		# @return [String]
		attr_writer :other_phone, :state, :postal_code, :country
		
		# @param [Handsoap::XmlMason::Node] msg
		# @return [Handsoap::XmlMason::Node]
		def soapify_for(msg)
			super(crit)
			crit.add 'firstName', @first_name unless @first_name.nil?
			crit.add 'lastName', @last_name unless @last_name.nil?
			crit.add 'email', @email unless @email.nil?
			crit.add 'state', @state unless @state.nil?
		end
		
	end
	
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
landslider-0.5.28 lib/landslider/entities/ws_contact_search.rb
landslider-0.5.26 lib/landslider/entities/ws_contact_search.rb
landslider-0.5.24 lib/landslider/entities/ws_contact_search.rb
landslider-0.5.22 lib/landslider/entities/ws_contact_search.rb
landslider-0.5.21 lib/landslider/entities/ws_contact_search.rb
landslider-0.5.20 lib/landslider/entities/ws_contact_search.rb
landslider-0.5.18 lib/landslider/entities/ws_contact_search.rb
landslider-0.5.17 lib/landslider/entities/ws_contact_search.rb
landslider-0.5.16 lib/landslider/entities/ws_contact_search.rb
landslider-0.5.15 lib/landslider/entities/ws_contact_search.rb
landslider-0.5.12 lib/landslider/entities/ws_contact_search.rb
landslider-0.5.11 lib/landslider/entities/ws_contact_search.rb
landslider-0.5.9 lib/landslider/entities/ws_contact_search.rb