Skip to content

Commit

Permalink
Add rdi to address record (#57)
Browse files Browse the repository at this point in the history
* feat: temp fix for address validation

* feat: introduce optional rdi attribute when validating addresses

* feat: use keyword arguments

* feat: move rdi to the address itself

* feat: add changelog record and restore old test cases

* docs: remove release date to avoid confusion
  • Loading branch information
nononoy authored Dec 15, 2023
1 parent f9dffc1 commit 806524c
Show file tree
Hide file tree
Showing 6 changed files with 2,444 additions and 774 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### 0.5.1 (Next)
### 0.6.0 (Next)

* Add Residential Delivery Indicator (rdi) to `TaxCloud::Address` on successful address verification - @nononoy.

* Your contribution here.

### 0.5.0 (7/21/2023)

* Update README, CHANGELOG, and LICENSE from RDoc to Markdown -
Expand Down
4 changes: 3 additions & 1 deletion lib/tax_cloud/address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module TaxCloud #:nodoc:
class Address < Record
# First line of address.
attr_accessor :address1
# Second line of adress.
# Second line of address.
attr_accessor :address2
# City.
attr_accessor :city
Expand All @@ -15,6 +15,8 @@ class Address < Record
attr_accessor :zip5
# 4-digit Zip Code.
attr_accessor :zip4
# Residential delivery indicator
attr_accessor :rdi

# Verify this address.
#
Expand Down
2 changes: 1 addition & 1 deletion lib/tax_cloud/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

module TaxCloud #:nodoc:
# The version of the <tt>tax_cloud</tt> gem.
VERSION = '0.5.1'
VERSION = '0.6.0'
end
Loading

0 comments on commit 806524c

Please sign in to comment.