Class: BluelineServices::Screening::PersonSearch

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/blueline_services/screening/person_search.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Model

#builder, #initialize, #to_xml

Instance Attribute Details

#vendorObject

Returns the value of attribute vendor.



6
7
8
# File 'lib/blueline_services/screening/person_search.rb', line 6

def vendor
  @vendor
end

Instance Method Details

#as_xmlObject



8
9
10
11
12
# File 'lib/blueline_services/screening/person_search.rb', line 8

def as_xml
  builder(:type => "personsearch") do |xml|
    xml.Vendor vendor unless vendor.nil?
  end
end