gotransverse-tract-api 0.0.15 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b50facab2275c19cd2a308bd13c2970b57a952d
4
- data.tar.gz: fe2b8745a55f4b2da6f334c0d62c5f6821359ab1
3
+ metadata.gz: 860b1fd71cd7d8462e76edaa35e3369ab945c413
4
+ data.tar.gz: 680abd3afbc782489d09a87ba25baa88956b8c59
5
5
  SHA512:
6
- metadata.gz: 1e725f5c0003ce1cc9119aaf09d6414fac8a42df8ec88dfa7fd0dd5a3547b1b6f06ed62009aa9cfc074b19c060303d9284441efff5301a244a286f9a3fd05065
7
- data.tar.gz: f2f2b31617001d8e0f7c39f02bf1f065d68bdc5395cb12a81f09e5bfce15bd9cecf367a5686d48d3ef6774db0230b7ddfb666adf9667f3bd18b8762f1075e30d
6
+ metadata.gz: f02dd4615585dad461b79c751061f09f8977f7ed4361ff5704a2aecce8007571eaa0880546bf2103ff174c8a8583945fc34cfaa34a26aad106ecbfa9b0043c66
7
+ data.tar.gz: 7a2998561f4a0a778ffabe877d9abc24c5c2cebc6c9d41d0daeda24b390909824ea2d37a1f49c3d52b7d4bc1a87b29a36f0d9e67d93ea8eb4a5fbc57d1ffbcda
data/README.md CHANGED
@@ -40,6 +40,7 @@ From the application utilizing the gem, create a gotransverse_tract_api.rb file
40
40
  GoTransverseTractApi.configure do |config|
41
41
  config.user_id = <gotransverse_tract_user_id>
42
42
  config.password = <gotransverse_tract_password>
43
+ config.tract_api_host = <gotransverse_tract_api_host>
43
44
  end
44
45
  ```
45
46
 
@@ -83,6 +83,7 @@ module GoTransverseTractApi
83
83
  # GoTransverseTractApi.configure do |config|
84
84
  # config.user_id = <gotransverse_tract_user_id>
85
85
  # config.password = <gotransverse_tract_password>
86
+ # config.tract_api_host = <gotransverse_tract_api_host>
86
87
  # end
87
88
  #
88
89
  def self.configure
@@ -5,13 +5,16 @@ class Configuration
5
5
  attr_accessor :basic_credentials
6
6
 
7
7
  attr_accessor :cache_enabled
8
+
9
+ attr_accessor :tract_api_host
8
10
  attr_accessor :tract_api_url
9
11
 
10
12
  #
11
13
  # initialize
12
14
  #
13
15
  def initialize
14
- @tract_api_url = "https://my.tractbilling.com/t/s/r/#{GoTransverseTractApi::TARGET_API_VERSION}"
16
+ @tract_api_host ||= "https://my.tractbilling.com"
17
+ @tract_api_url = "#{@tract_api_host}/t/s/r/#{GoTransverseTractApi::TARGET_API_VERSION}"
15
18
  set_basic_credentials
16
19
  end
17
20
 
@@ -1,6 +1,6 @@
1
1
  module GoTransverseTractApi
2
2
 
3
- VERSION = "0.0.15"
3
+ VERSION = "0.1.0"
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.0.15
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien DeFrance