paypal-express 0.2.7 → 0.2.8
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.
- data/README.rdoc +3 -0
- data/VERSION +1 -1
- data/lib/paypal.rb +1 -1
- data/lib/paypal/payment/response.rb +2 -1
- metadata +2 -2
data/README.rdoc
CHANGED
|
@@ -13,6 +13,9 @@ Express Checkout for Digital Goods is also supported.
|
|
|
13
13
|
See Wiki on Github
|
|
14
14
|
https://github.com/nov/paypal-express/wiki
|
|
15
15
|
|
|
16
|
+
Play with Sample Rails App
|
|
17
|
+
https://github.com/nov/paypal-express-sample
|
|
18
|
+
|
|
16
19
|
== Note on Patches/Pull Requests
|
|
17
20
|
|
|
18
21
|
* Fork the project.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.8
|
data/lib/paypal.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module Paypal
|
|
2
2
|
module Payment
|
|
3
3
|
class Response < Base
|
|
4
|
-
attr_accessor :amount, :ship_to, :description, :items, :notify_url, :insurance_option_offered, :currency_code, :error_code
|
|
4
|
+
attr_accessor :amount, :ship_to, :description, :note, :items, :notify_url, :insurance_option_offered, :currency_code, :error_code
|
|
5
5
|
|
|
6
6
|
def initialize(attributes = {})
|
|
7
7
|
attrs = attributes.dup
|
|
@@ -24,6 +24,7 @@ module Paypal
|
|
|
24
24
|
:country_name => attrs.delete(:SHIPTOCOUNTRYNAME)
|
|
25
25
|
)
|
|
26
26
|
@description = attrs.delete(:DESC)
|
|
27
|
+
@note = attrs.delete(:NOTETEXT)
|
|
27
28
|
@notify_url = attrs.delete(:NOTIFYURL)
|
|
28
29
|
@insurance_option_offered = attrs.delete(:INSURANCEOPTIONOFFERED) == 'true'
|
|
29
30
|
@currency_code = attrs.delete(:CURRENCYCODE)
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: paypal-express
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.2.
|
|
5
|
+
version: 0.2.8
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- nov matake
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2011-
|
|
13
|
+
date: 2011-05-17 00:00:00 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: activesupport
|