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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzE5M2FjZDliNGQzODc1YmE4YjIzNzdmMzJhOTM4ZDkwZjQyOTUzYQ==
4
+ MTc3MjZkNTZmNTI1OGIwMzYwODQyNzdhNzdiM2EzNTUzNWMwZDI1Zg==
5
5
  data.tar.gz: !binary |-
6
- MDRlOGY4ZmNlYzM1YTQ0YTJkYTUzN2U2NmU4MmI1MTUwMWQ2MjNlMQ==
6
+ ZWYxMjJiZTZiOWYyZDA3ZmMxNjU4YmQxOWY3YmEzY2RhMjY0MGQ1Yw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjRmNjBmMGY3MGNjZGQ5YTgzYjk4N2E0MmVmMDU1NzA1MmE5NTg2OGMwMGFi
10
- YTVmZjY5NWRkNDFmMmNmZWY3Y2VkMWRmM2IxNmY3ZTM1ZmU2OTNhMTE5NjYy
11
- MmJkODY1YjJjN2JlMWRjZDQ4NDhlMTRlODEwNWEwMDRhNzAyMjE=
9
+ ODQ3ZmJiZGYyM2I3NGYxZTgzYzIzNmExZWI4NjU0ZDkwYTQ2ZDQ5YWY3MGQw
10
+ ZTNlOTk2YzljZDVjMzNhZjEzMzFkMTlhZTliNjk0ODFlODQ2ZWNkNjQxZGFh
11
+ YTJkNjMwN2M4Njk0M2RhODU4NGEyYmE0NjUxZDA3NzE3ZGMwMDE=
12
12
  data.tar.gz: !binary |-
13
- MmYxZjUxNjY2YjYzZjM1NWI1YmM0NTA1MzFiY2IxMzI5ZjQ4ZjBhYzFhNDIx
14
- YmRhMWZkZDg0ZmZjODYwYjVmNWE5MGE2MjkzY2NlODZiN2U4MTdlZGFjMTkx
15
- ODkyZGI3ZDI1YjU0NjY1NTdlYjEyM2I3YTAyOGY0YTk3OGRmMTk=
13
+ N2NlMjEyNjU4ZWUwNTg5MjliNDVjMTA2MWQ0MjcxZjkxMDJiYTM1NmMxZjA3
14
+ ZTI5Yjk3OGY1ZWU4OTgwZjNmOTBkZTM1MzMxZjc5ZGE3ZWI1MDM0MTVmY2Y0
15
+ NGE2MTQxZmY1YTNiOGU3OGUzNzQ4MTA2MzQ2ZGE1NTAzODA3NTk=
@@ -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 :through_mb
54
+ case payment_method.to_s
55
+ when "through_mb"
56
56
  client.payment.through_mb
57
- when :end_of_month
57
+ when "end_of_month"
58
58
  client.payment.end_of_month
59
59
  else
60
60
  :unknown_payment_method
@@ -1,3 +1,3 @@
1
1
  module AMarmita
2
- VERSION = "0.5.11"
2
+ VERSION = "0.5.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: a_marmita
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.11
4
+ version: 0.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - João Gonçalves