alertpay 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/notification.rb +5 -0
- metadata +41 -34
data/lib/notification.rb
CHANGED
@@ -32,6 +32,11 @@ module Alertpay
|
|
32
32
|
status == 'Success'
|
33
33
|
end
|
34
34
|
|
35
|
+
# Was this a subscription payment?
|
36
|
+
def is_subscription_payment?
|
37
|
+
status == 'Subscription-Payment-Success'
|
38
|
+
end
|
39
|
+
|
35
40
|
# The shipping charges for this transaction.
|
36
41
|
def shipping
|
37
42
|
params['ap_shippingcharges'].to_f
|
metadata
CHANGED
@@ -1,50 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.4
|
3
|
-
specification_version: 1
|
4
2
|
name: alertpay
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: "0.
|
7
|
-
date: 2008-05-08 00:00:00 +10:00
|
8
|
-
summary: Common interface to alertpay request params.
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
email: danial@statelesssystems.com
|
12
|
-
homepage: http://statelesssystems.com
|
13
|
-
rubyforge_project:
|
14
|
-
description: Common interface to alertpay request params.
|
15
|
-
autorequire:
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: true
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.0.0
|
24
|
-
version:
|
4
|
+
version: "0.2"
|
25
5
|
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
29
6
|
authors:
|
30
7
|
- Danial Pearce
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-07-03 00:00:00 +10:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: Common interface to alertpay request params.
|
17
|
+
email: danial@statelesssystems.com
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files:
|
23
|
+
- README.txt
|
31
24
|
files:
|
32
25
|
- lib/alertpay.rb
|
33
26
|
- lib/helpers.rb
|
34
27
|
- lib/notification.rb
|
35
28
|
- test/notification_test.rb
|
36
29
|
- README.txt
|
37
|
-
|
38
|
-
|
30
|
+
has_rdoc: true
|
31
|
+
homepage: http://statelesssystems.com
|
32
|
+
post_install_message:
|
39
33
|
rdoc_options: []
|
40
34
|
|
41
|
-
|
42
|
-
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
35
|
+
require_paths:
|
36
|
+
- lib
|
37
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: "0"
|
42
|
+
version:
|
43
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: "0"
|
48
|
+
version:
|
47
49
|
requirements: []
|
48
50
|
|
49
|
-
|
50
|
-
|
51
|
+
rubyforge_project:
|
52
|
+
rubygems_version: 1.1.1
|
53
|
+
signing_key:
|
54
|
+
specification_version: 2
|
55
|
+
summary: Common interface to alertpay request params.
|
56
|
+
test_files:
|
57
|
+
- test/notification_test.rb
|