dineromail 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
data/lib/dineromail/operation.rb
CHANGED
data/lib/dineromail/version.rb
CHANGED
@@ -16,6 +16,9 @@ describe Dineromail::StatusReport do
|
|
16
16
|
operation.transaction_id.should == 1889
|
17
17
|
operation.date.should == DateTime.ordinal(2011,28,12,2,1)
|
18
18
|
operation.status.should == Dineromail::Operation::PENDING_STATUS
|
19
|
+
operation.pending?.should be_true
|
20
|
+
operation.completed?.should be_false
|
21
|
+
operation.cancelled?.should be_false
|
19
22
|
operation.amount.should == 60.2
|
20
23
|
operation.net_amount.should == 50.3
|
21
24
|
operation.pay_method.should == 'TARJETA DE CREDITO'
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dineromail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 4
|
10
|
+
version: 0.1.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Nicolas Mosconi
|