robhurring / address-validator Goto Github PK
View Code? Open in Web Editor NEWSimple UPS address validation gem.
License: MIT License
Simple UPS address validation gem.
License: MIT License
Hi there,
We are using your gem for UPS address verification with custom extension to include candidate list. We found that when we receive response with ambiguous address indicator,
candidate list contains street number suggestions in a range format, like '1-21 Some street', '2-20 Some street'
Could you please give a hint (or request option) how to receive a candidate list where street suggestion not in range format?
Please let me know, if you need more details.
Thanks in advance!
address = AddressValidator::Address.new(
name: 'Some Name',
street1: '501 York Street',
city: 'San Francisco',
state: 'CA',
zip: '94110',
country: 'US'
)
response = validator.validate(address)
response.valid? # true
response.address.name # nil
repsonse.address.street1 # "501 YORK ST"
There are some warnings coming in address initialize method in ruby 2.2.3
I have added some fix for it if you want to check KomalDhanwani@4aa287b
if its ok merge it in your branch...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.