sticapi_client 0.3.4 → 0.3.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2610e775ba351870823615680259f944011e8a2b8ec2479a01711d216c052f1a
4
- data.tar.gz: 6d912a36e4b548b089e72d810156dec99e54f7b917301848941a3c4fb94ac6ac
3
+ metadata.gz: 6cff576602faba9bcf0e0d3e52daf1e0b4e33b4866209b0907a178d4aed05f9a
4
+ data.tar.gz: c986f37f2867cddf13e9bf468ecb38b4e0a5dc73d3fa3cae02f19b59b871499b
5
5
  SHA512:
6
- metadata.gz: 3c4c1d1bf0026c4e1fb8701bd125b1cce2f3c7763d55e3debe76f1f8824f488dcbe6394c30934e52de38a028ecf65938f73485a208a99fa79d5f296c7e5eddae
7
- data.tar.gz: 9d477922c2b2d79371172d7431b386924db5298988578396ec7ec21efbedfff90ecbf71fbdaf09b7a4bd1ccd5f9b40747c83883fc6fd2946d2809a0607af225b
6
+ metadata.gz: 3f43946e4cd5739e33042f5bd02d29304c585490243b76168533749c536a2d7d75bcfde566dbda3e918d167ac0cbd7d2c257138f400e0d792621e4b3c45583cc
7
+ data.tar.gz: cdf8b17f9e33567ea148c8d3d588451ba69e8fa8c10ba69dd23635ee4b7db9cc84d02792082ecc527423ede3a1365fe986dafd10a24363f6b8b465386b88767c
File without changes
File without changes
File without changes
@@ -3,5 +3,9 @@ module SticapiClient
3
3
  def self.tipo_usuario(username)
4
4
  Sticapi::SticapiClient.instance.sticapi_request('/intranet/tipo_usuario', username: username)
5
5
  end
6
+
7
+ def self.pessoa_info(cpf)
8
+ Sticapi::SticapiClient.instance.sticapi_request('/intranet/pessoa_info', cpf: cpf)
9
+ end
6
10
  end
7
11
  end
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module SticapiClient
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
@@ -7,7 +7,6 @@ require 'sticapi_client/sticapi_devise_strategy'
7
7
  require 'sticapi_client/sticapi_controller'
8
8
  require 'sticapi_client/etjpi'
9
9
  require 'sticapi_client/intranet'
10
- require 'sticapi_client/sip'
11
10
  require 'net/http'
12
11
 
13
12
  module Sticapi
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sticapi_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Viana
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-11 00:00:00.000000000 Z
11
+ date: 2019-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -106,7 +106,6 @@ files:
106
106
  - lib/sticapi_client.rb
107
107
  - lib/sticapi_client/etjpi.rb
108
108
  - lib/sticapi_client/intranet.rb
109
- - lib/sticapi_client/sip.rb
110
109
  - lib/sticapi_client/sticapi_controller.rb
111
110
  - lib/sticapi_client/sticapi_devise_strategy.rb
112
111
  - lib/sticapi_client/version.rb
@@ -1,7 +0,0 @@
1
- module SticapiClient
2
- class Sip
3
- def self.unidades
4
- Sticapi::SticapiClient.instance.sticapi_request('/sip/unidades')
5
- end
6
- end
7
- end