promise_pay 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bbfcc4589cdff4d4dd83eaf0c2a4a9dadc16f77a
4
- data.tar.gz: 215489ae8b9a25459346066d1d299c088f2d1509
3
+ metadata.gz: 6df5c8e247b0e4ad5ea1da388db0751ddf71a63b
4
+ data.tar.gz: 1d5edcb45128d6a46a08a0399692f4102cd190fb
5
5
  SHA512:
6
- metadata.gz: b07e8aed015bf198afb737906d34ff5512d9351aa6e87cbef60e8b473e019204f92826526d8f98cb12a4c5c0473a969f5ffc8d21c88fbe7139f7e900fd8d19b0
7
- data.tar.gz: 85a622893c611b0f54c277c50a69028e056271d6a8ed3f8bc79bfa552fad289ccb0687f03218df4a192f46d51ac58bad7e9bb15b795b57b966d64f1f849b90f8
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 )
@@ -3,3 +3,4 @@ require "promise_pay"
3
3
  PromisePay.api_user = "<%= email %>"
4
4
  PromisePay.api_key = "<%= token %>"
5
5
  PromisePay.env = :<%= env %>
6
+ PromisePay.fee_ids = ""
@@ -1,3 +1,3 @@
1
1
  module PromisePay
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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.0.14
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: