cobrato-client 0.23.0.beta10 → 0.23.0.beta11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 57cfc1f6e582d9b2963db0fbc2c090fb5aaa6046
4
- data.tar.gz: 5bd8b5e21de4af4994d569a1d2e71dd988427598
3
+ metadata.gz: 10bbadf9c404bd35a030b946bd14a5db90fb47d6
4
+ data.tar.gz: 87f0128d62e6346016748301ca1e86358d248617
5
5
  SHA512:
6
- metadata.gz: e2e0f4338e1a3c4e33e7dbca7818892c0f1979007de772ca498f1bd364cf297d1da0ea6f75f3b0f8a58e034705deb1f5b70709a5997ccd6ac0bc7a0d3b143b43
7
- data.tar.gz: 5ca7d2545b9d8b7f78774eb71c26af88d5c8a463f1310f84e95e08cc9f471b3324f098d5a2318564cb3424ea0af0212d4528373e71ff027899f6b90f86408956
6
+ metadata.gz: aad5b90dfa2fac74935c3a489c74dbb4eb67ea856c89917c9868ced5211dbff1d78733ac8170c555843e8254a1a9e21cd72eed085cd42e9ac94707fe347df4c2
7
+ data.tar.gz: 581ed7faf4f190a42970068e4f62d0dcd1d566f41e68b4a7bbf4825915a5ec8104e03dbe6e93ea5a171541144483807301cbdfd51ae0fd1159fdfbe74616988d
data/.travis.yml CHANGED
@@ -1,8 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.9
4
- - 2.2.5
5
3
  - 2.3.1
4
+ - 2.4.3
6
5
  env:
7
6
  global:
8
7
  # CODECLIMATE_REPO_TOKEN
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Next version
4
4
 
5
+ ## v0.23.0.beta11
6
+
7
+ - Add `note` do payment
8
+ - Add payments/schema endpoing support
9
+
5
10
  ## v0.23.0.beta10
6
11
 
7
12
  - Add `taxpayer_document` and `taxpayer_document_type` to payment
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cobrato-client (0.23.0.beta10)
4
+ cobrato-client (0.23.0.beta11)
5
5
  multi_json (~> 1.11.2)
6
6
  typhoeus (~> 0.8.0)
7
7
  virtus (~> 1.0.5)
@@ -10,6 +10,7 @@ module Cobrato
10
10
  attribute :payment_method, String
11
11
  attribute :payment_type, String
12
12
  attribute :registration_status, String
13
+ attribute :note, String
13
14
 
14
15
  # Shared with some
15
16
  attribute :due_date, Date
@@ -8,6 +8,12 @@ module Cobrato
8
8
  respond_with_entity response
9
9
  end
10
10
  end
11
+
12
+ def schema(params)
13
+ http.get("#{resource_base_path}/schema", params: params) do |response|
14
+ parsed_body(response)
15
+ end
16
+ end
11
17
  end
12
18
  end
13
19
  end
@@ -1,3 +1,3 @@
1
1
  module Cobrato
2
- VERSION = '0.23.0.beta10'
2
+ VERSION = '0.23.0.beta11'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cobrato-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0.beta10
4
+ version: 0.23.0.beta11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcio Ricardo Santos
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2018-02-07 00:00:00.000000000 Z
13
+ date: 2018-02-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: typhoeus