slack_resources 0.1.6 → 0.1.7
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 -2
- 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: '095e2639500695887fb13a21b9355453841a12acb866d3ce2e5b4b885ce74a6b'
|
4
|
+
data.tar.gz: '030924abc983456ca173ade00ddea1275db889f08ad22021ecc690d6bd1a60c2'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 384ecaf1d21659ea079ac7079b73f5d5ff4ec683ef3073398d918e2813dcd43f7493782ee92d8f122f4f30031d060d823b101d6ea1c7083e750d21f6049fa04f
|
7
|
+
data.tar.gz: 7102e66dfd3b0d0b210c778dc656e5f31b43eedfc1e37ad6d76c6151c2def555b02483320dca7179eb03e8cf63f0de3d783708a83544131dd774ec0aec8f57c0
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'pathname'
|
2
|
+
require 'json'
|
2
3
|
|
3
4
|
module SlackResources
|
4
5
|
module Resources
|
@@ -11,7 +12,7 @@ module SlackResources
|
|
11
12
|
SCHEMAS_PATH = BASE_PATH.join('schemas')
|
12
13
|
|
13
14
|
class << self
|
14
|
-
def
|
15
|
+
def detail(name)
|
15
16
|
File.read(DETAILS_PATH.join("#{name}.json"))
|
16
17
|
end
|
17
18
|
|
@@ -19,7 +20,7 @@ module SlackResources
|
|
19
20
|
File.read(EXAMPLES_PATH.join("#{name}.json"))
|
20
21
|
end
|
21
22
|
|
22
|
-
def
|
23
|
+
def schema(name)
|
23
24
|
File.read(SCHEMAS_PATH.join("#{name}.json"))
|
24
25
|
end
|
25
26
|
|