gotransverse-tract-api 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06b789ee39703041636a1bdb4b4a9c5c3092fcc8
4
- data.tar.gz: dc53204c8082464cac0d8ca64331d5af0563a3a9
3
+ metadata.gz: 390eaf00a67b79cfd1a5c3b37f1835f5c93e2e80
4
+ data.tar.gz: e7df4c6716b02a4154dfbbdf1d27b3e828e02a98
5
5
  SHA512:
6
- metadata.gz: 15431161f8fdca74f828ea26ae2cbb0bf4467d2e591f0acf82525ab97332fa34acb7ab45f0e1bd86fbf80293c4e964b2aa518b996d2ac61d0948f8d02301af3c
7
- data.tar.gz: 2b3b23974c81b160bc4437dc072e69016d64081836524f201c56b254e0ea182eb97ce15b6f11374f3c4298d9c206af3766dfc998e1ef3d127f99590d80b999c1
6
+ metadata.gz: b83d395ad6d823b05f681aa36355871bc882c75eab8f63d17bc2546021852e4efb6190191fe00168523b06c9c53d4e0c587611362ec86400fe9a4d241ea1a54b
7
+ data.tar.gz: 0ba65c18f03d10dfd0c4b6856591522f43ff44a833de5237f7e5ff646625216eec04ff09281d06adcca245f1fd29c728f127902757236e9870152ab83c99ce21
@@ -9,17 +9,22 @@ module GoTransverseTractApi
9
9
  attr_accessor :cache_enabled
10
10
 
11
11
  attr_accessor :tract_api_host
12
- attr_accessor :tract_api_url
13
12
 
14
13
  #
15
14
  # initialize
16
15
  #
17
16
  def initialize
18
- @tract_api_host ||= "https://my.tractbilling.com"
19
- @tract_api_url = "#{@tract_api_host}/t/s/r/#{GoTransverseTractApi::TARGET_API_VERSION}"
17
+ @tract_api_host = "https://my.tractbilling.com"
20
18
  set_basic_credentials
21
19
  end
22
20
 
21
+ #
22
+ # tract_api_url
23
+ #
24
+ def tract_api_url
25
+ "#{@tract_api_host}/t/s/r/#{GoTransverseTractApi::TARGET_API_VERSION}"
26
+ end
27
+
23
28
  private
24
29
 
25
30
  #
@@ -1,6 +1,6 @@
1
1
  module GoTransverseTractApi
2
2
 
3
- VERSION = "0.1.8"
3
+ VERSION = "0.1.9"
4
4
  TARGET_API_VERSION = "1.28"
5
5
 
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gotransverse-tract-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien DeFrance