gotransverse-tract-api 0.11.2 → 0.12.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9fc0b823183f373a0c87a496df3d7628468f070
|
4
|
+
data.tar.gz: 98f6aee3ab6dea47629fc2d5c8e18f19d7eab575
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d1a19e4913c7044bc257042b5e4973671e1b3835ddc16a9d6c3bb59e2138175c0b691ced259ab4927eb729329cf5ffb4949811d6df26de5c9ad1a349e794b09
|
7
|
+
data.tar.gz: f7de810fd3496c9c76eaa42caea980d3c0d1d7e6ef459b8b2aeb3dc00445b0c60288b4bb082591b7de6e2ec33b235d1be1ef172a83b6d4c9d5e53e02a0109699
|
@@ -61,6 +61,17 @@ module GoTransverseTractApi
|
|
61
61
|
GoTransverseTractApi.get_response_for(self, params)
|
62
62
|
end
|
63
63
|
|
64
|
+
#
|
65
|
+
# @param {Long} discount_identifier
|
66
|
+
# @param {Hash} options
|
67
|
+
#
|
68
|
+
def find_by_discount_identifier discount_identifier, options={}
|
69
|
+
return nil unless discount_identifier.present?
|
70
|
+
|
71
|
+
params ||= GoTransverseTractApi::ApiData.new.get_query_params({discount_identifier: discount_identifier}, options)
|
72
|
+
GoTransverseTractApi.get_response_for(self, params)
|
73
|
+
end
|
74
|
+
|
64
75
|
end
|
65
76
|
|
66
77
|
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.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julien DeFrance
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-05-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|