accounts_client 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,6 +15,8 @@ class PadmaAccount < LogicalModel
15
15
  attribute :migrated_to_padma_on
16
16
  attribute :federation_nucleo_id
17
17
 
18
+ self.expires_in = 1.hour
19
+
18
20
  set_api_key 'token', Accounts::API_KEY
19
21
 
20
22
  TIMEOUT = 5500 # milisecons
@@ -10,6 +10,8 @@ class PadmaUser < LogicalModel
10
10
 
11
11
  set_api_key 'token', Accounts::API_KEY
12
12
 
13
+ self.expires_in = 1.hour
14
+
13
15
  attribute :username
14
16
  attribute :drc_login
15
17
  attribute :email
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: accounts_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-02-19 00:00:00.000000000 Z
12
+ date: 2014-06-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties