Class: Landslider::WsAccountNoteSearch

Inherits:
WsSearch
  • Object
show all
Defined in:
lib/landslider/entities/ws_account_note_search.rb

Instance Attribute Summary collapse

Attributes inherited from WsSearch

#allow_duplicate_criterion, #first_result_position, #return_deleted_records, #search_criteria, #source_id, #total_results_requested, #updated_on

Instance Method Summary collapse

Constructor Details

#initialize(account_id) ⇒ WsAccountNoteSearch

Returns a new instance of WsAccountNoteSearch

Parameters:

  • account_id (Integer)

    an account id



9
10
11
# File 'lib/landslider/entities/ws_account_note_search.rb', line 9

def initialize()
	@account_id = 
end

Instance Attribute Details

#account_idInteger (readonly)

Returns:

  • (Integer)


6
7
8
# File 'lib/landslider/entities/ws_account_note_search.rb', line 6

def 
  @account_id
end

Instance Method Details

#soapify_for(msg) ⇒ Handsoap::XmlMason::Node

Parameters:

  • msg (Handsoap::XmlMason::Node)

Returns:

  • (Handsoap::XmlMason::Node)


15
16
17
18
19
20
# File 'lib/landslider/entities/ws_account_note_search.rb', line 15

def soapify_for(msg)
	msg.add('accountNoteSearch') { |crit|
		crit.add 'accountId', @account_id
		super(crit)
	}
end