Sha256: 232e5e80386806f513dc057d82c2b121d9355a2ec322a2db913852f24e9a18e4

Contents?: true

Size: 342 Bytes

Versions: 9

Compression:

Stored size: 342 Bytes

Contents

module SsciInc
  module Screening
    class CriminalState
      include Screening::Model

      attr_accessor :region

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

    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ssci_inc-0.1.9 lib/ssci_inc/screening/criminal_state.rb
ssci_inc-0.1.8 lib/ssci_inc/screening/criminal_state.rb
ssci_inc-0.1.7 lib/ssci_inc/screening/criminal_state.rb
ssci_inc-0.1.6 lib/ssci_inc/screening/criminal_state.rb
ssci_inc-0.1.5 lib/ssci_inc/screening/criminal_state.rb
ssci_inc-0.1.4 lib/ssci_inc/screening/criminal_state.rb
ssci_inc-0.1.3 lib/ssci_inc/screening/criminal_state.rb
ssci_inc-0.1.2 lib/ssci_inc/screening/criminal_state.rb
ssci_inc-0.1.1 lib/ssci_inc/screening/criminal_state.rb