isaca 0.1.2 → 0.1.3

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: 14e4d392c6867baba299393c31b9b265dff05eeb
4
- data.tar.gz: c32db72701049e6ec879a3b7995067560ae99bdf
3
+ metadata.gz: 0f0f986e5932bff365279f45d223e49f78f91f58
4
+ data.tar.gz: 48aaa300d3b2b40290ad826b8231aff0cf57177d
5
5
  SHA512:
6
- metadata.gz: 56a9566f79dd025992f750b948cdc1e46dcdec5b09621f1a8b72a444693d6cdc0f374e61d524a375025221980d6dfeefbe24502a2548ae7bb64fdb0d144518ed
7
- data.tar.gz: 436af12401769df32ac8226cf7c1bca28d81de48fd5e955997a6a9d98e7554b8b94ab71a99fa363c8690dab6c0d79f3f54eea50396ff5b1e140b9673998a04a3
6
+ metadata.gz: 4f49f8c8720ba21a2959b5163023ed7855e0b517ef5f0ba99663918ef628dc5df88bf41467e0968f38fa4a6baacb78197523a52e4a2986adea9b4e6621c23d45
7
+ data.tar.gz: 7f42eec3e4933e4d907d01cbb832668e612df9f9f124626fcbbdaf139dd2f14a4f64fa6897c3f6ecbbe774833b0ce79bd02c05931ab74754bdbc22de1d3cb42e
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- isaca (0.1.1)
4
+ isaca (0.1.2)
5
5
  faraday (~> 0.14.0)
6
6
 
7
7
  GEM
@@ -1,6 +1,14 @@
1
1
  module ISACA
2
2
  module Request
3
3
  module LogOut
4
+ def self.get(token)
5
+ response = ISACA::Request.get do |request|
6
+ request.path = request.path + '/LogOut'
7
+ request.params['token'] = token
8
+ end
9
+
10
+ response.status == 200
11
+ end
4
12
  end
5
13
  end
6
14
  end
@@ -1,3 +1,3 @@
1
1
  module ISACA
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isaca
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Orahood
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-26 00:00:00.000000000 Z
11
+ date: 2018-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -87,7 +87,6 @@ files:
87
87
  - lib/isaca/models/authenticate_user.rb
88
88
  - lib/isaca/models/get_user_by_id.rb
89
89
  - lib/isaca/models/get_user_details_by_token.rb
90
- - lib/isaca/models/log_out.rb
91
90
  - lib/isaca/models/submit_cpe.rb
92
91
  - lib/isaca/requests/authenticate_user.rb
93
92
  - lib/isaca/requests/get_user_by_id.rb
@@ -1,6 +0,0 @@
1
- module ISACA
2
- module Model
3
- class LogOut
4
- end
5
- end
6
- end