printos 0.3.13 → 0.3.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/printos/helpers.rb +1 -5
- data/lib/printos/printos_client.rb +4 -0
- data/lib/printos/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: d55159b491456c4aef62f7521df750ccef81f125
|
4
|
+
data.tar.gz: 7fc2f8193fe74c90019e62b2def766cf359f1286
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a3a7f21a1afc9bb143b6a092bf3a935963855e71a2e6a1ccaafb3114294fda989e0730f901df30e2213d1bad0eb82cf99c109cd91b2f0f90e15be6a0ceb4c12
|
7
|
+
data.tar.gz: 66ee85a0fc92f70162c8c0ad97031de83ffddc134ce8fcaba9a34581e5a3f4a923954ebe1bd3e42d879466ba0f64404b1f9c5dce131dc65fc4dba0bcb23dbb53
|
data/Gemfile.lock
CHANGED
data/lib/printos/helpers.rb
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
module Printos
|
2
2
|
module Helpers
|
3
3
|
|
4
|
-
def authorization
|
5
|
-
@authorization ||= PrintosClient.get_instance.authorization
|
6
|
-
end
|
7
|
-
|
8
4
|
def user_permissions
|
9
|
-
@permissions ||=
|
5
|
+
@permissions ||= PrintosClient.get_instance.permissions
|
10
6
|
end
|
11
7
|
|
12
8
|
def has_admin_permission?
|
data/lib/printos/version.rb
CHANGED