asaas-ruby 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asaas/entity/meta.rb +5 -1
- data/lib/asaas/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01b20bd5ff018a5899516aa17f0ca63a8db08a0e0df144909af5b93a18f57c07
|
4
|
+
data.tar.gz: a9886c09b0f1d201492a520a222d5a76c7ef7c427d2568b4f8abb157e3fb16cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5340f495a7ccadbbf373790ba5ab81aa0df5354548b04a6c92a386e30753bc50761fb96fb2becd02d1b46096d8a9a14c7712965a8498743ebfca4bf5f2bb1203
|
7
|
+
data.tar.gz: a4f2c7372e7aa7c0fc1eb49c218d67982cb87b176d7bd94bec72113e9dca3de057d8644803b24bf524289f7a251b813e92c46f1dc00a7fa711c9610ab6e824ec
|
data/lib/asaas/entity/meta.rb
CHANGED
@@ -15,7 +15,11 @@ module Asaas
|
|
15
15
|
|
16
16
|
protected
|
17
17
|
def convert_data_to_entity(type)
|
18
|
-
|
18
|
+
if Asaas::Configuration.api_version == 2
|
19
|
+
"Asaas::Entity::#{type.capitalize}".constantize
|
20
|
+
else
|
21
|
+
"Asaas::#{type.capitalize}".constantize
|
22
|
+
end
|
19
23
|
rescue
|
20
24
|
Asaas::Entity::Base
|
21
25
|
end
|
data/lib/asaas/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asaas-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcos Junior
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|