Class: SsciInc::Screening::PersonSearch
- Inherits:
-
Object
- Object
- SsciInc::Screening::PersonSearch
- Includes:
- Model
- Defined in:
- lib/ssci_inc/screening/person_search.rb
Instance Attribute Summary collapse
-
#vendor ⇒ Object
Returns the value of attribute vendor.
Instance Method Summary collapse
Methods included from Model
#builder, #initialize, #to_xml
Instance Attribute Details
#vendor ⇒ Object
Returns the value of attribute vendor.
6 7 8 |
# File 'lib/ssci_inc/screening/person_search.rb', line 6 def vendor @vendor end |
Instance Method Details
#as_xml ⇒ Object
8 9 10 11 12 |
# File 'lib/ssci_inc/screening/person_search.rb', line 8 def as_xml builder(:type => "personsearch") do |xml| xml.Vendor vendor unless vendor.nil? end end |