sticapi_client 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 60110a13ce728aa99078db2ae7fcabc496ed1358
4
- data.tar.gz: 590cd4c34ec8cc0e44d81f3749961da2bdf75640
3
+ metadata.gz: fd3ce8254131e6409b38ebe8cd3d9a829021e93c
4
+ data.tar.gz: 7d40c5f79f0f18850068b275b5c3ad29cd7c753b
5
5
  SHA512:
6
- metadata.gz: dc3552d44e9b58338e38b6c467be08e1304217ed2d0648830c663fe2cae83d46935069622a921dfb8ec0ec901b3dac51ed6df376f27f54f68927ad1b37c19794
7
- data.tar.gz: d1233eedeeee8b7b694377d3809cfe1de925dad678eb84ad3c325043704e013abe858b672e89ac64f91e24d62b748cd29c7d237fe5b70bd791adf3c1047cdd77
6
+ metadata.gz: cd0ac5a2963d64ced2942d7af0475ecfa3d18e5f1ade62662f4d773a461aca72283927b8525a87e07484c7d147b023762f41cb3a3aef82139f42a4843776c759
7
+ data.tar.gz: 7b696163f61581489ae8ea1749eacabb671c662d4ebe86b153d458c4e68f567c2a930a6611cf46daa8ff0ad9f52d4e6514412b8953621040a03366879e1aec5c
@@ -6,6 +6,7 @@ require 'rails'
6
6
  require 'sticapi_client/sticapi_devise_strategy'
7
7
  require 'sticapi_client/sticapi_controller'
8
8
  require 'sticapi_client/etjpi'
9
+ require 'sticapi_client/sip'
9
10
  require 'net/http'
10
11
 
11
12
  module Sticapi
@@ -0,0 +1,7 @@
1
+ module SticapiClient
2
+ class Sip
3
+ def self.unidades
4
+ Sticapi::SticapiClient.instance.sticapi_request('/sip/unidades')
5
+ end
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module SticapiClient
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
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.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Viana
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-30 00:00:00.000000000 Z
11
+ date: 2018-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -105,6 +105,7 @@ files:
105
105
  - lib/generators/sticapi_client/templates/sticapi.yml
106
106
  - lib/sticapi_client.rb
107
107
  - lib/sticapi_client/etjpi.rb
108
+ - lib/sticapi_client/sip.rb
108
109
  - lib/sticapi_client/sticapi_controller.rb
109
110
  - lib/sticapi_client/sticapi_devise_strategy.rb
110
111
  - lib/sticapi_client/version.rb