smile-identity-core 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +15 -9
- data/lib/smile-identity-core/version.rb +1 -1
- data/smile-identity-core-0.1.0.gem +0 -0
- data/smile-identity-core.gemspec +3 -2
- data/travis.yml +9 -0
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 584ee28900df6fe47ae9b0a5420139011b7066ade042871e25457ad885cafd8c
|
4
|
+
data.tar.gz: 12659892472717e03ba992186da1f79f131d19275ffca69b92def3332b1c9d59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a48e3c826a5b4c2b04cc1d276a6599d850b3edd01823365c1777b7346bf38a8e71ffa1f38528840d99dc868a65f9d7e91e6f225b703e88b0f74b79ba48da37c8
|
7
|
+
data.tar.gz: 205bd0c4eb54335a2cd25657df8c036fc174f6285a1543053e216f766df556841cbfbe1bd492616fa00af604afd7e508219ab9ac5a2545262eb8f16ffcc51c88
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -6,26 +6,32 @@ The Web API allows you as the Partner to validate a user’s identity against th
|
|
6
6
|
|
7
7
|
The Auth Smile class allows you as the Partner to generate a sec key to interact with our servers.
|
8
8
|
|
9
|
-
##
|
9
|
+
## Documentation
|
10
|
+
|
11
|
+
This gem requires specific input parameters, for more detail on these parameters please refer to our [documentation for Web API](https://docs-smileid.herokuapp.com/docs#web-api-introduction).
|
12
|
+
|
13
|
+
Please note that you will have to be a Smile Identity Partner to be able to query our services.
|
14
|
+
## Usage
|
10
15
|
|
11
16
|
Add this line to your application's Gemfile:
|
12
17
|
|
13
18
|
```ruby
|
14
19
|
gem 'smile-identity-core'
|
15
20
|
```
|
21
|
+
and
|
16
22
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
Or install it yourself as:
|
22
|
-
|
23
|
-
$ gem install smile-identity-core
|
23
|
+
```ruby
|
24
|
+
require 'smile-identity-core'
|
25
|
+
```
|
24
26
|
|
25
|
-
|
27
|
+
Or install it to your system as:
|
26
28
|
|
29
|
+
```
|
30
|
+
$ gem install smile-identity-core
|
31
|
+
```
|
27
32
|
|
28
33
|
#### Calculating your Signature
|
34
|
+
|
29
35
|
```
|
30
36
|
$ connection = SmileIdentityCore::AuthSmile.new(partner_id, api_key)
|
31
37
|
|
Binary file
|
data/smile-identity-core.gemspec
CHANGED
@@ -9,13 +9,14 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.email = ["ridhwana.khan16@gmail.com"]
|
10
10
|
|
11
11
|
spec.summary = "The Smile Identity Web API allows the user to access most of the features of the Smile Identity system through direct server to server queries."
|
12
|
-
spec.description = "The
|
12
|
+
spec.description = "The Official Smile Identity gem"
|
13
13
|
spec.homepage = "https://www.smileidentity.com/"
|
14
14
|
spec.required_ruby_version = '>= 2.0'
|
15
15
|
spec.license = 'MIT'
|
16
16
|
|
17
17
|
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
-
spec.metadata["source_code_uri"] = "https://github.com/smileidentity/smile-identity-core"
|
18
|
+
spec.metadata["source_code_uri"] = "https://github.com/smileidentity/smile-identity-core-ruby"
|
19
|
+
spec.metadata["documentation_uri"] = "https://docs-smileid.herokuapp.com/docs#web-api-introduction"
|
19
20
|
spec.metadata["changelog_uri"] = "https://github.com/smileidentity/smile-identity-core/blob/master/CHANGELOG.md"
|
20
21
|
|
21
22
|
# Specify which files should be added to the gem when it is released.
|
data/travis.yml
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smile-identity-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ridhwana
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -106,7 +106,7 @@ dependencies:
|
|
106
106
|
- - ">="
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: 1.2.3
|
109
|
-
description: The
|
109
|
+
description: The Official Smile Identity gem
|
110
110
|
email:
|
111
111
|
- ridhwana.khan16@gmail.com
|
112
112
|
executables: []
|
@@ -127,13 +127,16 @@ files:
|
|
127
127
|
- lib/smile-identity-core/signature.rb
|
128
128
|
- lib/smile-identity-core/version.rb
|
129
129
|
- lib/smile-identity-core/web_api.rb
|
130
|
+
- smile-identity-core-0.1.0.gem
|
130
131
|
- smile-identity-core.gemspec
|
132
|
+
- travis.yml
|
131
133
|
homepage: https://www.smileidentity.com/
|
132
134
|
licenses:
|
133
135
|
- MIT
|
134
136
|
metadata:
|
135
137
|
homepage_uri: https://www.smileidentity.com/
|
136
|
-
source_code_uri: https://github.com/smileidentity/smile-identity-core
|
138
|
+
source_code_uri: https://github.com/smileidentity/smile-identity-core-ruby
|
139
|
+
documentation_uri: https://docs-smileid.herokuapp.com/docs#web-api-introduction
|
137
140
|
changelog_uri: https://github.com/smileidentity/smile-identity-core/blob/master/CHANGELOG.md
|
138
141
|
post_install_message:
|
139
142
|
rdoc_options: []
|