billimatic-client 0.20.0 → 0.21.0

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: eeb919f0727204184e4470b793a2f185bd418cfd
4
- data.tar.gz: a33efcea1f8542aad0ec01cd4ff58f535558f69f
3
+ metadata.gz: 654daa7b2bdeef5a541b7ce3406435ff33437f99
4
+ data.tar.gz: c0d2646762a1cbd0ac78cc7b55efd321e32c3379
5
5
  SHA512:
6
- metadata.gz: 291ceec821a999ad05eceee5cf781d62a4657c20e549b86329f0673bfbde1bc8c931db92ffd3f07fb490a44254bf20cd9bb555ae79634e4549ed52b015ceee7b
7
- data.tar.gz: 19418b773ef6e73930252e6765aea25c36dc1cf1376b7740ffe7c676175e37a5c694e102e98733e094d75842516f8f787fd3072ab1ce10c20ceb4c32443ad873
6
+ metadata.gz: 3ac4773bec894dadc5c07048a363f33875a2f4bd0a40f3d20264a465a0b5e44f574a651bd3e89d05b9f6362c6c64549fbb72ab97b596eafece06ef847c7d58e9
7
+ data.tar.gz: 72af10addd825ef563e8c6e963532ad48c51f0d33957105b28b0110179f9083711e9dbc592dae80d392629ac404cb5f9e8a9a72f9540baabdf68fb8cf050de73
data/CHANGELOG.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## Next version
4
4
 
5
+ ## v0.21.0
6
+ - Adds ServiceItem#list endpoint.
7
+
5
8
  ## v0.20.0
6
9
  - Adds InvoiceTemplate entity.
7
10
  - Adds InvoiceTemplate#list and InvoiceTemplate#show endpoints.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- billimatic-client (0.20.0)
4
+ billimatic-client (0.21.0)
5
5
  multi_json (~> 1.11)
6
6
  typhoeus (~> 0.8)
7
7
  virtus (~> 1.0.5)
@@ -25,7 +25,7 @@ GEM
25
25
  diff-lcs (1.2.5)
26
26
  docile (1.1.5)
27
27
  equalizer (0.0.11)
28
- ethon (0.11.0)
28
+ ethon (0.12.0)
29
29
  ffi (>= 1.3.0)
30
30
  ffi (1.9.14)
31
31
  formatador (0.2.5)
@@ -119,4 +119,4 @@ DEPENDENCIES
119
119
  vcr (~> 3.0)
120
120
 
121
121
  BUNDLED WITH
122
- 1.16.2
122
+ 1.16.6
data/README.md CHANGED
@@ -679,6 +679,17 @@ client = Billimatic.client("YOUR_TOKEN_HERE")
679
679
  <code>client.service_items.search(name: name)</code>
680
680
  </td>
681
681
  </tr>
682
+ <tr>
683
+ <td><code>GET</code></td>
684
+ <td>
685
+ <a href="https://myfreecomm.github.io/billimatic-api-docs/#lista-servico-s" target="_blank">
686
+ /api/v1/service_items
687
+ </a>
688
+ </td>
689
+ <td>
690
+ <code>client.service_items.list</code>
691
+ </td>
692
+ </tr>
682
693
  <tr>
683
694
  <td><code>POST</code></td>
684
695
  <td>
@@ -1,7 +1,7 @@
1
1
  module Billimatic
2
2
  module Resources
3
3
  class ServiceItem < Base
4
- crud :create, :update, :destroy
4
+ crud :list, :create, :update, :destroy
5
5
 
6
6
  def search(name:)
7
7
  http.get(
@@ -1,3 +1,3 @@
1
1
  module Billimatic
2
- VERSION = '0.20.0'
2
+ VERSION = '0.21.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: billimatic-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Tassinari de Oliveira
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: exe
14
14
  cert_chain: []
15
- date: 2018-12-21 00:00:00.000000000 Z
15
+ date: 2019-03-15 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: typhoeus