paypal-sdk-invoice 1.103.0 → 1.106.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +17 -17
- data/README.md +125 -125
- data/Rakefile +14 -14
- data/lib/paypal-sdk-invoice.rb +2 -2
- data/lib/paypal-sdk/invoice.rb +16 -16
- data/lib/paypal-sdk/invoice/api.rb +21 -21
- data/lib/paypal-sdk/invoice/data_types.rb +871 -841
- data/lib/paypal-sdk/invoice/services.rb +248 -229
- data/lib/paypal-sdk/invoice/version.rb +7 -7
- data/spec/config/paypal.yml +24 -24
- data/spec/invoice_spec.rb +18 -18
- data/spec/spec_helper.rb +6 -6
- metadata +11 -7
- checksums.yaml +0 -7
@@ -1,7 +1,7 @@
|
|
1
|
-
module PayPal
|
2
|
-
module SDK
|
3
|
-
module Invoice
|
4
|
-
VERSION = "1.
|
5
|
-
end
|
6
|
-
end
|
7
|
-
end
|
1
|
+
module PayPal
|
2
|
+
module SDK
|
3
|
+
module Invoice
|
4
|
+
VERSION = "1.106.0"
|
5
|
+
end
|
6
|
+
end
|
7
|
+
end
|
data/spec/config/paypal.yml
CHANGED
@@ -1,24 +1,24 @@
|
|
1
|
-
test: &default
|
2
|
-
username: jb-us-seller_api1.paypal.com
|
3
|
-
password: WX4WTU3S8MY44S7F
|
4
|
-
signature: AFcWxV21C7fd0v3bYYYRCpSSRl31A7yDhhsPUU2XhtMoZXsWHFxu-RWy
|
5
|
-
app_id: APP-80W284485P519543T
|
6
|
-
http_timeout: 30
|
7
|
-
mode: sandbox
|
8
|
-
|
9
|
-
development:
|
10
|
-
<<: *default
|
11
|
-
|
12
|
-
with_certificate:
|
13
|
-
<<: *default
|
14
|
-
username: platfo_1255170694_biz_api1.gmail.com
|
15
|
-
password: 2DPPKUPKB7DQLXNR
|
16
|
-
signature:
|
17
|
-
cert_path: "spec/config/cert_key.pem"
|
18
|
-
app_id: APP-80W284485P519543T
|
19
|
-
soap_end_point: "https://api.sandbox.paypal.com/2.0/"
|
20
|
-
|
21
|
-
with_oauth_token:
|
22
|
-
<<: *default
|
23
|
-
token: H2kLxjm9lCxQdnOYxkH29I53TpZyIXez4GtHhAVGpiU3DiVTz5eNPQ
|
24
|
-
token_secret: MnZ-iPdDqGLEfQIuTIfUN4uK9lU
|
1
|
+
test: &default
|
2
|
+
username: jb-us-seller_api1.paypal.com
|
3
|
+
password: WX4WTU3S8MY44S7F
|
4
|
+
signature: AFcWxV21C7fd0v3bYYYRCpSSRl31A7yDhhsPUU2XhtMoZXsWHFxu-RWy
|
5
|
+
app_id: APP-80W284485P519543T
|
6
|
+
http_timeout: 30
|
7
|
+
mode: sandbox
|
8
|
+
|
9
|
+
development:
|
10
|
+
<<: *default
|
11
|
+
|
12
|
+
with_certificate:
|
13
|
+
<<: *default
|
14
|
+
username: platfo_1255170694_biz_api1.gmail.com
|
15
|
+
password: 2DPPKUPKB7DQLXNR
|
16
|
+
signature:
|
17
|
+
cert_path: "spec/config/cert_key.pem"
|
18
|
+
app_id: APP-80W284485P519543T
|
19
|
+
soap_end_point: "https://api.sandbox.paypal.com/2.0/"
|
20
|
+
|
21
|
+
with_oauth_token:
|
22
|
+
<<: *default
|
23
|
+
token: H2kLxjm9lCxQdnOYxkH29I53TpZyIXez4GtHhAVGpiU3DiVTz5eNPQ
|
24
|
+
token_secret: MnZ-iPdDqGLEfQIuTIfUN4uK9lU
|
data/spec/invoice_spec.rb
CHANGED
@@ -1,18 +1,18 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe "Invoice" do
|
4
|
-
|
5
|
-
before :all do
|
6
|
-
@client = PayPal::SDK::Invoice::API.new
|
7
|
-
end
|
8
|
-
|
9
|
-
describe "Services" do
|
10
|
-
PayPal::SDK::Invoice::Services.instance_methods.select{|s| s =~ /^[A-Z]/ and s !~ /^Build/ }.each do |service_method|
|
11
|
-
it "make empty request to #{service_method}" do
|
12
|
-
response = @client.send(service_method, {})
|
13
|
-
response.response_envelope.ack.should_not be_nil
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
|
-
end
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "Invoice" do
|
4
|
+
|
5
|
+
before :all do
|
6
|
+
@client = PayPal::SDK::Invoice::API.new
|
7
|
+
end
|
8
|
+
|
9
|
+
describe "Services" do
|
10
|
+
PayPal::SDK::Invoice::Services.instance_methods.select{|s| s =~ /^[A-Z]/ and s !~ /^Build/ }.each do |service_method|
|
11
|
+
it "make empty request to #{service_method}" do
|
12
|
+
response = @client.send(service_method, {})
|
13
|
+
response.response_envelope.ack.should_not be_nil
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
require 'bundler/setup'
|
2
|
-
|
3
|
-
Bundler.require :default, :test
|
4
|
-
PayPal::SDK::Core::Config.load('spec/config/paypal.yml', 'test')
|
5
|
-
|
6
|
-
require 'paypal-sdk-invoice'
|
1
|
+
require 'bundler/setup'
|
2
|
+
|
3
|
+
Bundler.require :default, :test
|
4
|
+
PayPal::SDK::Core::Config.load('spec/config/paypal.yml', 'test')
|
5
|
+
|
6
|
+
require 'paypal-sdk-invoice'
|
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paypal-sdk-invoice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.106.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- PayPal
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-
|
12
|
+
date: 2013-08-21 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: paypal-sdk-core
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -47,26 +50,27 @@ files:
|
|
47
50
|
- Gemfile
|
48
51
|
homepage: https://developer.paypal.com
|
49
52
|
licenses: []
|
50
|
-
metadata: {}
|
51
53
|
post_install_message:
|
52
54
|
rdoc_options: []
|
53
55
|
require_paths:
|
54
56
|
- lib
|
55
57
|
required_ruby_version: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
56
59
|
requirements:
|
57
|
-
- - '>='
|
60
|
+
- - ! '>='
|
58
61
|
- !ruby/object:Gem::Version
|
59
62
|
version: '0'
|
60
63
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
61
65
|
requirements:
|
62
|
-
- - '>='
|
66
|
+
- - ! '>='
|
63
67
|
- !ruby/object:Gem::Version
|
64
68
|
version: '0'
|
65
69
|
requirements: []
|
66
70
|
rubyforge_project:
|
67
|
-
rubygems_version:
|
71
|
+
rubygems_version: 1.8.24
|
68
72
|
signing_key:
|
69
|
-
specification_version:
|
73
|
+
specification_version: 3
|
70
74
|
summary: PayPal Invoice SDK
|
71
75
|
test_files:
|
72
76
|
- spec/config/cert_key.pem
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 5225b5100840e6297ec533b845534ddc9124112c
|
4
|
-
data.tar.gz: 69d1d616ebb69f9d21978326d80b036c4d865ec0
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 7026bcde865ba665051ad1eba813bf222d93e8474b75aa2b3553d3a11f3e9b50a611a269aa1647e112d899b5739f277b2e0a24e83223b32fe6efc8ff5973df62
|
7
|
-
data.tar.gz: 8fab11887be964aedd73cb26155b8fbd51442c4a67bb9a6d42647317ce534ce32f2502c3656b03c46937ee7998e39365ec289c26cad6dcfac57075ed83ae8552
|