module Kamome::Transformations::Extractor

Constants

POST_OFFICE_REG

Public Instance Methods

extract_post_office_box(value) click to toggle source
# File lib/kamome/transformations/extractor.rb, line 13
def extract_post_office_box(value)
  value[POST_OFFICE_REG, 1] || ''
end
extract_street(value) click to toggle source
# File lib/kamome/transformations/extractor.rb, line 9
def extract_street(value)
  value.sub(POST_OFFICE_REG, '')
end