slack_resources 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/slack_resources/resources/event_api.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ed9ee90cc5bdb9efba81b0c87a71a67822104921a56d50e6089e0305189a092
|
4
|
+
data.tar.gz: ba0b87074c7d2afe8fd61d0236075efc8dda8f0bc9a0199a226d3decd652b6c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81bcbd99723e0d181664421d4a81f5a162fe27b22fe0580c10f9cd0fd285d81e9fa22735ffb66782152dd49c8c1386d6045a9fe59d03cff05083be63d0b526be
|
7
|
+
data.tar.gz: 14a28639e4d8f3c34d3589e89b75ef49053412750efbf8d51698dbf5784b0344444e53bbc6854645ceb3ad6f13b3f94695f75d7e8a257f2abca106dc18b98032
|
@@ -13,15 +13,15 @@ module SlackResources
|
|
13
13
|
|
14
14
|
class << self
|
15
15
|
def detail(name)
|
16
|
-
File.read(DETAILS_PATH.join("#{name}.json"))
|
16
|
+
JSON.parse(File.read(DETAILS_PATH.join("#{name}.json")))
|
17
17
|
end
|
18
18
|
|
19
19
|
def example(name)
|
20
|
-
File.read(EXAMPLES_PATH.join("#{name}.json"))
|
20
|
+
JSON.parse(File.read(EXAMPLES_PATH.join("#{name}.json")))
|
21
21
|
end
|
22
22
|
|
23
23
|
def schema(name)
|
24
|
-
File.read(SCHEMAS_PATH.join("#{name}.json"))
|
24
|
+
JSON.parse(File.read(SCHEMAS_PATH.join("#{name}.json")))
|
25
25
|
end
|
26
26
|
|
27
27
|
def event_types
|