a_marmita 0.5.11 → 0.5.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/a_marmita/cart/base.rb +3 -3
- data/lib/a_marmita/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MTc3MjZkNTZmNTI1OGIwMzYwODQyNzdhNzdiM2EzNTUzNWMwZDI1Zg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZWYxMjJiZTZiOWYyZDA3ZmMxNjU4YmQxOWY3YmEzY2RhMjY0MGQ1Yw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODQ3ZmJiZGYyM2I3NGYxZTgzYzIzNmExZWI4NjU0ZDkwYTQ2ZDQ5YWY3MGQw
|
10
|
+
ZTNlOTk2YzljZDVjMzNhZjEzMzFkMTlhZTliNjk0ODFlODQ2ZWNkNjQxZGFh
|
11
|
+
YTJkNjMwN2M4Njk0M2RhODU4NGEyYmE0NjUxZDA3NzE3ZGMwMDE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
N2NlMjEyNjU4ZWUwNTg5MjliNDVjMTA2MWQ0MjcxZjkxMDJiYTM1NmMxZjA3
|
14
|
+
ZTI5Yjk3OGY1ZWU4OTgwZjNmOTBkZTM1MzMxZjc5ZGE3ZWI1MDM0MTVmY2Y0
|
15
|
+
NGE2MTQxZmY1YTNiOGU3OGUzNzQ4MTA2MzQ2ZGE1NTAzODA3NTk=
|
data/lib/a_marmita/cart/base.rb
CHANGED
@@ -51,10 +51,10 @@ module AMarmita
|
|
51
51
|
def checkout(payment_method)
|
52
52
|
return :bad_login if cant_log_in?
|
53
53
|
|
54
|
-
case payment_method
|
55
|
-
when
|
54
|
+
case payment_method.to_s
|
55
|
+
when "through_mb"
|
56
56
|
client.payment.through_mb
|
57
|
-
when
|
57
|
+
when "end_of_month"
|
58
58
|
client.payment.end_of_month
|
59
59
|
else
|
60
60
|
:unknown_payment_method
|
data/lib/a_marmita/version.rb
CHANGED