Avatax_TaxService 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Avatax_TaxService.gemspec +1 -1
- data/lib/avatax_taxservice.rb +4 -2
- metadata +1 -1
data/Avatax_TaxService.gemspec
CHANGED
data/lib/avatax_taxservice.rb
CHANGED
@@ -19,8 +19,10 @@ module AvaTax
|
|
19
19
|
@machine = machine == nil ? "" : machine
|
20
20
|
|
21
21
|
#Set @def_locn to the Avatax-x.x.x gem install library. This enables the ruby programs to
|
22
|
-
#find other objects that it needs.
|
23
|
-
|
22
|
+
#find other objects that it needs.
|
23
|
+
spec = Gem::Specification.find_by_name("Avatax_TaxService")
|
24
|
+
gem_root = spec.gem_dir
|
25
|
+
@def_locn = gem_root + "/lib"
|
24
26
|
|
25
27
|
#Header for response data
|
26
28
|
@responsetime_hdr = " (User) (System) (Total) (Real)"
|