thecore_api 1.1.13 → 1.1.14
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 +4 -4
- data/app/controllers/api/v1/info_controller.rb +2 -2
- data/config/routes.rb +1 -1
- data/lib/thecore_api/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: 3621f57e53524e5b600f69c2ea2d3b2ee2a9de82
|
4
|
+
data.tar.gz: 269272c654cc23e5bdafaa8e8dba463c679021f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdadcd0e2f650c43ec49b20f2b9685216ff506e082ed06e61b5fd179889ff183b84338e89c52309cc6d583ef4288248b326a44862ccdb98a79c031614a942d06
|
7
|
+
data.tar.gz: fed93c2a6ed5f234ae933f8e71b331a229ce1da055fe3ebb32d3ecf05c76200a9d19421c9f17c845d2e59b44a40f80e08df9c17d9166c21cdec09fd3e6297136
|
@@ -19,9 +19,9 @@ class Api::V1::InfoController < Api::V1::BaseController
|
|
19
19
|
}.to_json, status: 200
|
20
20
|
end
|
21
21
|
|
22
|
-
# api :GET, '/api/v1/info/
|
22
|
+
# api :GET, '/api/v1/info/available_roles', "Given auth credentials, in HTTP_BASIC form,
|
23
23
|
# it returns the roles list
|
24
|
-
def
|
24
|
+
def available_roles
|
25
25
|
render json: ROLES.to_json, status: 200
|
26
26
|
end
|
27
27
|
|
data/config/routes.rb
CHANGED
data/lib/thecore_api/version.rb
CHANGED