fluffy-ruby 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fluffy/sessions.rb +9 -0
- data/lib/fluffy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97b39c42c998d355c127845dc4a975fa05a0dfb2
|
4
|
+
data.tar.gz: 7471b595975a80a95a1a28f0c315ea1b95f75fac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb72b6594bbd84494aa4183644a8b0fbb6eafd7ff8f89e5db649ab7a378b6d4481379343f6fc127a43514adb7e57d7ef2caf00f72a61f813660d926d0b6c5a6d
|
7
|
+
data.tar.gz: 17d5fb776b875172f2901fa71f39b3d1e4aee71d8f68d0433d65055c8550d637a888c0b81f17f66258cbc108edf5ed9c698a000fb68aad784dcb1ff203c59590
|
data/lib/fluffy/sessions.rb
CHANGED
@@ -32,5 +32,14 @@ module Fluffy
|
|
32
32
|
def add(name:, **params)
|
33
33
|
Session.new(name: name, **params)
|
34
34
|
end
|
35
|
+
|
36
|
+
# Delete a session
|
37
|
+
#
|
38
|
+
# @param name [String] Session key
|
39
|
+
# @return [nil]
|
40
|
+
#
|
41
|
+
def delete(name:)
|
42
|
+
@@api.delete(endpoint: self.endpoint)
|
43
|
+
end
|
35
44
|
end
|
36
45
|
end
|
data/lib/fluffy/version.rb
CHANGED