module PostcodeAnywhere::CleansePlus::Interactive

Constants

API_VERSION
CLEANSE_ADDRESS_ENDPOINT

Public Instance Methods

address_candidates_for(address, options = {}) click to toggle source
# File lib/postcode_anywhere/cleanse_plus/interactive.rb, line 13
def address_candidates_for(address, options = {})
  options.merge!('Address' => address)
  perform_with_objects(
    :get,
    CLEANSE_ADDRESS_ENDPOINT,
    options,
    PostcodeAnywhere::CleansePlus::CleansedAddress
  )
end