Class: Landslider::WsOpportunityNoteSearch
- Defined in:
- lib/landslider/entities/ws_opportunity_note_search.rb
Instance Attribute Summary collapse
- #opportunity_id ⇒ Integer readonly
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
-
#initialize(opportunity_id) ⇒ WsOpportunityNoteSearch
constructor
A new instance of WsOpportunityNoteSearch.
- #soapify_for(msg) ⇒ Handsoap::XmlMason::Node
Constructor Details
#initialize(opportunity_id) ⇒ WsOpportunityNoteSearch
Returns a new instance of WsOpportunityNoteSearch.
9 10 11 |
# File 'lib/landslider/entities/ws_opportunity_note_search.rb', line 9 def initialize(opportunity_id) @opportunity_id = opportunity_id end |
Instance Attribute Details
#opportunity_id ⇒ Integer (readonly)
6 7 8 |
# File 'lib/landslider/entities/ws_opportunity_note_search.rb', line 6 def opportunity_id @opportunity_id end |
Instance Method Details
#soapify_for(msg) ⇒ Handsoap::XmlMason::Node
15 16 17 18 19 20 |
# File 'lib/landslider/entities/ws_opportunity_note_search.rb', line 15 def soapify_for(msg) msg.add('opportunityNote') { |crit| crit.add 'opportunityId', @opportunity_id super(crit) } end |