promise_pay 0.1.0 → 0.1.1
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/README.md +5 -5
- data/lib/generators/templates/promise_pay_initializer.rb +1 -0
- data/lib/promise_pay/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6df5c8e247b0e4ad5ea1da388db0751ddf71a63b
|
4
|
+
data.tar.gz: 1d5edcb45128d6a46a08a0399692f4102cd190fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e00c1252fb57b05278febea5f11a23847f99c1dabf4a53890402968dbc682777449baadd21b0a7ecbf226b0dff598dffcfeb10a4f341307c707a0434386e514
|
7
|
+
data.tar.gz: 2f649bc6916bcc5d7947f6301249f90f53b6f0f0c21fc508019a53f305517bc07aebea6b70630b17684f0016fda5eade17d819b8e6823334d54e0467c0fc8471
|
data/README.md
CHANGED
@@ -20,6 +20,10 @@ Generate your PromizePay API key and the rails promise_pay initializer:
|
|
20
20
|
|
21
21
|
$ rails generate promise_pay:init EMAIL PASSWORD
|
22
22
|
|
23
|
+
Set your fee-ids from PromisePay in config `config/initializers/promise_pay.rb`:
|
24
|
+
|
25
|
+
PromisePay.fee_ids = "abc-123"
|
26
|
+
|
23
27
|
You're set to go!
|
24
28
|
|
25
29
|
## Extra Info
|
@@ -32,7 +36,7 @@ Along with your test environments api user/key. You can generate all this by run
|
|
32
36
|
|
33
37
|
$ rails generate promise_pay:init EMAIL PASSWORD --test
|
34
38
|
|
35
|
-
Note this will overwrite anything in `config/initializers/promise_pay.rb
|
39
|
+
Note this will overwrite anything in `config/initializers/promise_pay.rb`, but you will still need to set your fee-ids manually in this config file.
|
36
40
|
|
37
41
|
## Usage
|
38
42
|
|
@@ -54,10 +58,6 @@ item.amount => 10
|
|
54
58
|
|
55
59
|
```
|
56
60
|
|
57
|
-
## TODO:
|
58
|
-
|
59
|
-
1. Move all errors into shared file
|
60
|
-
|
61
61
|
## Contributing
|
62
62
|
|
63
63
|
1. Fork it ( http://github.com/<my-github-username>/promise_pay/fork )
|
data/lib/promise_pay/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: promise_pay
|
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
|
- Liam Norton
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
123
|
rubyforge_project:
|
124
|
-
rubygems_version: 2.
|
124
|
+
rubygems_version: 2.1.9
|
125
125
|
signing_key:
|
126
126
|
specification_version: 4
|
127
127
|
summary: PromisePay gem
|
@@ -137,4 +137,3 @@ test_files:
|
|
137
137
|
- spec/support/fixtures/token_generation.json
|
138
138
|
- spec/support/fixtures/user/find.json
|
139
139
|
- spec/support/fixtures/user/find_all.json
|
140
|
-
has_rdoc:
|