idn_sdk_ruby 0.1.3 → 0.1.4
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,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OGVmMDNkNDhlMWNiNGQ0ZDJjZmNjMTc0MmJjMmYwMWUwMWE0OTc5Ng==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTdmNzJhYzdlNzZmYzE2YTNlZmI1YzJiZDE1NTc5NTZlNjM1MTZhYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTc5YTY3NDg4MGViNjUyMmYxODZiMTA4YzUzOTljZDA5ZjBlMDgzYTJjMzk5
|
10
|
+
MWI2NGM3YjI1YWU2NTcxZTkxNzAwMmVlMmEyMGFhODY4NmVmYWQ5NDYyODVm
|
11
|
+
MTRiYTkwNzQxNWI2ODVkZWIwNjBmMjgwMTc4ZjllN2M5NzdjMjg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGE0MWNjNTc1NzhhNmM1OTY0MzgyZWRjOTA4ZDQ2NGMwZjE0Y2RiNTExNmYy
|
14
|
+
ZTcyNTA0NjliODFmM2QyZDRhNDRjYmI2MzBmMWE0OTMxZDllNDRiZWZhYmVl
|
15
|
+
N2MwMDVlMDIwODE2NGRjNjQwNTUyZTA0MjM3ZDFiZTFlMWMwMDc=
|
data/README.md
CHANGED
@@ -37,10 +37,6 @@ Or install it yourself as:
|
|
37
37
|
LINKEDIN_SECRET: "SECRET"
|
38
38
|
INSTAGRAM_KEY: "KEY"
|
39
39
|
INSTAGRAM_SECRET: "SECRET"
|
40
|
-
|
41
|
-
MODULE_IDENTITY_API_HOST_URL: "http://api.qa1.nbos.in"
|
42
|
-
MODULE_IDENTITY_API_CLIENT_KEY: "sample-app-client"
|
43
|
-
MODULE_IDENTITY_API_CLIENT_SECRET: "sample-app-secret"
|
44
40
|
```
|
45
41
|
|
46
42
|
Now all the environment variables will be accessible like ENV["MODULE_IDENTITY_API_HOST_URL"] in our Rails application.
|
@@ -116,7 +112,6 @@ Or install it yourself as:
|
|
116
112
|
end
|
117
113
|
|
118
114
|
app_context = IdsRailsApiContext.new("app")
|
119
|
-
app_context.setHost("identity")
|
120
115
|
app_context.setClientCredentials("identity")
|
121
116
|
IdnSdkRuby::Com::Nbos::Capi::Api::V0::IdnSDK.init(app_context)
|
122
117
|
```
|
@@ -6,7 +6,7 @@ module IdnSdkRuby
|
|
6
6
|
module Identity
|
7
7
|
module V0
|
8
8
|
class ModuleTokenApiModel < IdnSdkRuby::Com::Nbos::Capi::Modules::Identity::V0::BasicActiveModel
|
9
|
-
attr_accessor :username, :clientId, :tokenType, :token, :expiration, :expired, :tenantId, :modules, :message
|
9
|
+
attr_accessor :username, :clientId, :tokenType, :token, :expiration, :expired, :tenantId, :modules, :message, :uuid
|
10
10
|
|
11
11
|
def initialize(parsed_response = nil)
|
12
12
|
if !parsed_response.nil?
|
@@ -17,6 +17,7 @@ module IdnSdkRuby
|
|
17
17
|
@expiration = parsed_response['expiration']
|
18
18
|
@expired = parsed_response['expired']
|
19
19
|
@tenantId = parsed_response['tenantId']
|
20
|
+
@uuid = parsed_response['member']['uuid'] if parsed_response['member'].present?
|
20
21
|
@modules = add_modules(parsed_response['modules']) if parsed_response['modules'].present?
|
21
22
|
end
|
22
23
|
end
|
data/lib/idn_sdk_ruby/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: idn_sdk_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sekhar
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httmultiparty
|