gotransverse-tract-api 0.0.7 → 0.0.8

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: a256fcddce4972606eddf0e158634df4a8c9ddfd
4
- data.tar.gz: a0761ea57d091a504088dfc6883faa777c2bb498
3
+ metadata.gz: 8f66583a7f52b80678cc07aa21d0c49b83467656
4
+ data.tar.gz: bc03c7314b910b6cbd40e4eeecae0eec0bc4d094
5
5
  SHA512:
6
- metadata.gz: 0752873f7167c7b0cbe07a6952299055fcc607b31e73e7f219bbb5d6181c2c37ee262dd00fdc9f848a64cd98c49f51311575c05f1aa7573bc0befc8a19128edc
7
- data.tar.gz: 9d9f4e87b3d4d4eb5af8dd488ee5599caf9a25417412f31e99e43741191b18d0f18349ea1251504460a47b5fc1fc92af9e0911673f4515a5530b78300d082f3a
6
+ metadata.gz: da9c9e42ee00345cabaef8fdf8330912ebb276319f4f3a5b642d87eb640a46395081dfed5ea84d5ede6a4fa9fa7efd43c2a18e48cd48388db029134c96009068
7
+ data.tar.gz: 6ee0542a4d1de37ffa5a7ba51cbece1fb1635e55834315437924827d3e67a092b418ca938f447b5b2cb42c662c52e7cc5a790dfce05fb0724e834e274ad88192
@@ -96,7 +96,7 @@ module GoTransverseTractApi
96
96
  # @param {Class} klass
97
97
  #
98
98
  def self.get_api_url_for klass
99
- "#{GoTransverseTractApi.configuration.tract_api_url}/#{klass.classname.camelize(:lower).pluralize}"
99
+ "#{GoTransverseTractApi.configuration.tract_api_url}/#{klass.name.camelize(:lower).pluralize}"
100
100
  end
101
101
 
102
102
  #
@@ -155,7 +155,7 @@ module GoTransverseTractApi
155
155
  # @param {Hash} api_params (optional)
156
156
  #
157
157
  def self.get_cached_response_for(klass, api_params={})
158
- key = "#{klass.classname}.#{api_params.sort}"
158
+ key = "#{klass.name}.#{api_params.sort}"
159
159
 
160
160
  return Rails.cache.fetch(key, expires_in: 10.minutes) do
161
161
  self.get_response_from(klass, api_params)
@@ -1,6 +1,6 @@
1
1
  module GoTransverseTractApi
2
2
 
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  TARGET_API_VERSION = "1.19"
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.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien DeFrance