auth-lh 0.0.4 → 0.0.5

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: dc1e3adcd34051edf7cc9bc3875417a37a851589
4
- data.tar.gz: 22a41cf358bfe8ded9d7c4c86c238d8adc7cb39b
3
+ metadata.gz: ba7898013ebad01d0b9777eb224afb8891380f0e
4
+ data.tar.gz: 29610f05e30983123dab333e1cf8ef819fface2e
5
5
  SHA512:
6
- metadata.gz: 3ef5f6f956b44c1775e35c50e71ea7aa150e8cf107bd534c34ca0baf6774baf2761b52bc48441c5a5e11ddadd513d7a86a99d054c9b6cb024221cc62432b0423
7
- data.tar.gz: e6b4c723e0b384661a13648c36dcac79f5df3d299c78c831f28ea0f0fe2300ecca8377fb102fe360da493dd8994b243612813ee6b54db60b9af623918bee4ab5
6
+ metadata.gz: f3ba911cb7b7ca97a559c1db0eb405f9c805b5501163ba9c0649d74bcf371e4c493188e4be954aab0b060da6d7c2cd246c46481ba5935ab5dd87550bdaecea7a
7
+ data.tar.gz: 2fa3915eaf2a7394097b698f930aedb3f870eb95101072f411efc96bb97b3397579c63a4fae193fd7397816d1dde06194ff203ff69465b6de4d1553ac502b1df
data/CHANGELOG.md CHANGED
@@ -13,3 +13,7 @@
13
13
  ## v0.0.4
14
14
 
15
15
  * Implemented method to get users from api
16
+
17
+ ## v0.0.5
18
+
19
+ * Bugfix: access token not being set in configuration
data/lib/auth/lh/api.rb CHANGED
@@ -3,12 +3,13 @@ module Auth
3
3
  class Api
4
4
  include Singleton
5
5
 
6
- attr_accessor :endpoint, :return_url, :application_code
6
+ attr_accessor :endpoint, :return_url, :application_code, :access_token
7
7
 
8
8
  def self.configure(args={})
9
9
  instance.endpoint = (args[:endpoint] || 'https://auth.lhconfort.com.ar')
10
10
  instance.return_url = args[:return_url]
11
11
  instance.application_code = args[:application_code]
12
+ instance.access_token = args[:access_token]
12
13
  end
13
14
 
14
15
  def logged_user(session_token, remote_ip)
@@ -1,5 +1,5 @@
1
1
  module Auth
2
2
  module Lh
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auth-lh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matias Hick