accounts_client 0.2.37 → 0.2.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/sso_token.rb +17 -0
  3. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf86f538741a9bccbac93a6a10876e6a55895cdb
4
- data.tar.gz: 0dd3c3db4e3805dde8ea66e8f7ba3c700b2c26e2
3
+ metadata.gz: 10ea4da4a509337c2122ab7ffc067ef44f2d3600
4
+ data.tar.gz: 50de27e7d3abb7ced35302af9523bde93d737918
5
5
  SHA512:
6
- metadata.gz: 28ff0e5faf28bf95f35f63d3b889d6890198f9f9072b60029e717e726da0a16f5f42ad52f2347991d25d667268d36078e7c94f16737795e0f36e5491f71e913d
7
- data.tar.gz: 6018097963b6422168bf750094f203a78cf2a6abd741cbb37381c7aa54332c9af6dd395f6c6aee290eec742fc248e994c77d6da255e2a3502cad5a3ae002cb26
6
+ metadata.gz: 465b9875fb450fbb0665840a575fcf4a0a993770804e52f4902d5ead0a06ff2bc97e728f63ec4c1831410c07accd67fd3de60b63440894875f75a74c6484afcd
7
+ data.tar.gz: 8bb4232810d675d61d1d2130f03187d815f5f98e13923230cbcf9832b2dfa590be7d52ac0306f5c8c795cfc2c4913c86efcd634f14cedb61113391bdad0a353b
@@ -0,0 +1,17 @@
1
+ class SsoToken < LogicalModel
2
+ use_hydra Accounts::HYDRA
3
+ set_resource_host Accounts::HOST
4
+ set_resource_path "/v0/sso_tokens"
5
+
6
+ attribute :username
7
+ attribute :account_name
8
+
9
+ set_api_key 'token', Accounts::API_KEY
10
+
11
+ TIMEOUT = 5500 # milisecons
12
+ PER_PAGE = 9999
13
+
14
+ def json_root
15
+ 'sso_token'
16
+ end
17
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: accounts_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.37
4
+ version: 0.2.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dwayne Macgowan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-01 00:00:00.000000000 Z
11
+ date: 2019-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -65,6 +65,7 @@ files:
65
65
  - app/models/padma_user.rb
66
66
  - app/models/petal.rb
67
67
  - app/models/petal_subscription.rb
68
+ - app/models/sso_token.rb
68
69
  - config/initializers/accounts_client.rb
69
70
  - lib/accounts/belongs_to_account.rb
70
71
  - lib/accounts/belongs_to_user.rb
@@ -91,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
92
  version: '0'
92
93
  requirements: []
93
94
  rubyforge_project:
94
- rubygems_version: 2.5.1
95
+ rubygems_version: 2.6.14.3
95
96
  signing_key:
96
97
  specification_version: 4
97
98
  summary: Client library for padma-Accounts-ws