There is now an official TaxCloud Ruby Gem available, which will allow Ruby developers to quickly integrate with TaxCloud’s web services. The Gem includes a number of “service” methods, which allow you to utilize TaxCloud’s services as if they were a local resource. The Gem also includes some tests which demonstrate how to use the services.
You can download it for free from: https://rubygems.org/gems/TaxCloud or just install the gem into your project: “gem install TaxCloud”.
Update! Version 1.0.1 is now available, which includes bug fixes and enhanced TIC functionality.
This is all that’s included in the gem downloaded from rubygems.
class TaxCloud
def self.hi
puts ‘This is the TaxCloud gem.’
end
end
Yes, that is correct. The gem needs to be integrated into an application. There isn’t anything for it to do on its own. The tests demonstrate how to do this.
Thanks for the response. What tests? There’s only file contained in the packaged gem is lib/tax_cloud.rb, which contains the class definition my original post.
Sorry, it looks like the gem may have been packaged incorrectly. In the meantime, you can get the files directly from GitHub: https://github.com/donnen/TaxCloud
The Gem at RubyGems.org has been updated to include the correct files.
While executing a validate address I get the error:
NoMethodError (undefined method `err_description=’ for #)
Replacing the line in verify_address_result.rb:
attr_accessor :address1, :address2, :city, :state, :zip5, :zip4, :err_number
to:
attr_accessor :address1, :address2, :city, :state, :zip5, :zip4, :err_number, :err_description
seems to fix the issue.
Thanks for the info. I will look into the issue and publish a fix.
Thanks! It’s really nice to have an officially supported gem.
The tic.rb file needs to be TIC.rb. In Unix environments capitalization matters. The get_ti_cs_response.rb has the line require ‘TIC’. Please make the file capitalized so it works on all environments. -thanks.
Thanks for the info. I will incorporate this change into the next version.
Hey Dave – thanks for the gem! Noticed the repo above hadn’t been updated in a while. Curious if there were any pending pushes on the way?
Hey Dave, thanks for the gem! I noticed the repo hasn’t been updated in a while; just making sure this is still an officially supported channel. Are there pushes pending?
Hello, we are still supporting this gem. There are a few bug fixes in the works, as well as some additional functionality. The new version will be available soon. Let use know if you have any suggestions for improvements.