teligem 0.0.2 → 0.0.3
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 +4 -4
- data/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/README.markdown +12 -2
- data/lib/teligem.rb +1 -1
- data/teligem.gemspec +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 43a9885f0a895dc0477476e5d85cd715b3b533e1
|
|
4
|
+
data.tar.gz: 6d6010f30a8f1b011c88459d7a061d1dcd91b848
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb3783daf2c8ad68090f0e0fffbef487c55027d531f4ea8de8062a211701dd1e791768945f8f86e03b98b2293764179aaff4f77e667ebf1e61c4e7dd1e46283f
|
|
7
|
+
data.tar.gz: 24a05edf134899fc5e6396454f4f62e78156f0f3d33ddf2137b52127431fe98dddc0f0f09686066332b7e634ded69701f5c9ca948e48453ae48ec5bb5ecf580b
|
data/.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*.gem
|
data/Gemfile.lock
CHANGED
data/README.markdown
CHANGED
|
@@ -70,11 +70,21 @@ To check if the payment really comes from the Telipass website, set your params
|
|
|
70
70
|
ntu: params[:ntu]
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
Telipass.new.security_check(params)
|
|
74
|
-
|
|
73
|
+
if Telipass.new.security_check(params) do
|
|
74
|
+
# ex: Give some user coins
|
|
75
|
+
else
|
|
76
|
+
# ex: Send a alert security
|
|
77
|
+
end
|
|
75
78
|
|
|
79
|
+
```
|
|
76
80
|
It will return true if the payment really comes from Telipass, otherwise it will return false.
|
|
77
81
|
|
|
82
|
+
## TODO
|
|
83
|
+
* Check if telikey is here otherwise show logger error info
|
|
84
|
+
* Get payment detailed info in order to set easier the earning
|
|
85
|
+
(most important infos are: module_name, payment_method, point_name, amount, credit)
|
|
86
|
+
|
|
87
|
+
|
|
78
88
|
## How to contribute?
|
|
79
89
|
* Fork this repository
|
|
80
90
|
* Create a branch to add some functionalities or solve some bugs
|
data/lib/teligem.rb
CHANGED
data/teligem.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: teligem
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Arpsara, CT2C
|
|
@@ -30,6 +30,7 @@ executables: []
|
|
|
30
30
|
extensions: []
|
|
31
31
|
extra_rdoc_files: []
|
|
32
32
|
files:
|
|
33
|
+
- .gitignore
|
|
33
34
|
- .rspec
|
|
34
35
|
- Gemfile
|
|
35
36
|
- Gemfile.lock
|