paypal-express 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
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.7
1
+ 0.2.8
data/lib/paypal.rb CHANGED
@@ -6,7 +6,7 @@ require 'restclient_with_cert'
6
6
 
7
7
  module Paypal
8
8
 
9
- API_VERSION = '69.0'
9
+ API_VERSION = '72.0'
10
10
  ENDPOINT = {
11
11
  :production => 'https://www.paypal.com/cgi-bin/webscr',
12
12
  :sandbox => 'https://www.sandbox.paypal.com/cgi-bin/webscr'
@@ -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.7
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-04-25 00:00:00 Z
13
+ date: 2011-05-17 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport