api-moip-assinaturas 0.2.25 → 0.2.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/api_moip_assinaturas.gemspec +1 -1
- data/lib/moip/models/customer.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmNhOGY0ODNlMjA3YzBiYmNiODljY2RkZWViOGFlMzQ1YzhlMTUyMA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTI3YjllMjMzYjBlODllMzdiZjZlNmE3ZDRiMjJmMTJiNzEwZjkwYQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTE4NWRkMzBkMzg3OThlYTMwZTlhNmRhNzAzY2VkYzFhZGMyNDBkM2E1NjAy
|
10
|
+
OTVhMzljNmM1ZGU4YTI1YTk3M2RkZjM1NDFkM2M0Y2ZkZjc3OGMyNzllYzQz
|
11
|
+
ZDc4ZTY3ZjNiZDVkYTYwYzQ3MWU4Njg0MDI2ZDA0MDg4NmE2NTQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWNjMjk4MWU0ODNjOWFlZjE1ZGIzNDNlMjI5NmQxN2NlODBiMzhmNDI4Yzhi
|
14
|
+
OWM2M2E1OWZmZGMwMjJjNDFmYTA4YmE5ZTZiYmJhYzllZWZkMTM2N2I4OTc5
|
15
|
+
MTYxOWEwNGMyZjI1MWMzNTg3NTM1NjBiYjhlOWQ5OWZjNTRhNTE=
|
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'api-moip-assinaturas'
|
6
|
-
s.version = '0.2.
|
6
|
+
s.version = '0.2.26'
|
7
7
|
s.date = '2013-07-02'
|
8
8
|
s.summary = "Moip Assinaturas by Pixxel"
|
9
9
|
s.description = "Gem desenvolvida para atender aos requisitos do moip api de assinaturas"
|
data/lib/moip/models/customer.rb
CHANGED
@@ -116,6 +116,7 @@ class Moip::Customer < Moip::Model
|
|
116
116
|
def update_billing_info billing_info
|
117
117
|
if billing_info.valid?
|
118
118
|
response = self.class.post(base_url(:customers, :code => self.code, :status => "billing_infos"), default_header(self.build_update.to_json)).parsed_response
|
119
|
+
self.validate_response response
|
119
120
|
else
|
120
121
|
false
|
121
122
|
end
|