Class: SsciInc::Screening::Eviction

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/ssci_inc/screening/eviction.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Model

#builder, #initialize, #to_xml

Instance Attribute Details

#regionObject

Returns the value of attribute region.



6
7
8
# File 'lib/ssci_inc/screening/eviction.rb', line 6

def region
  @region
end

Instance Method Details

#as_xmlObject



8
9
10
11
12
# File 'lib/ssci_inc/screening/eviction.rb', line 8

def as_xml
  builder(:type => "eviction", :qualifier => "statewide") do |xml|
    xml.Region region unless region.nil?
  end
end