betterstack 1.0.0 → 1.0.1
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/betterstack.gemspec +1 -1
- data/lib/betterstack/resources/status_page.rb +16 -0
- 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: 11eba9a10146b6cb9a85882830284beaf100f785e07e6df6548c8150cf5c15c1
|
4
|
+
data.tar.gz: 83632b2d16be69f8c849437b4092b7a980da4ebe2902bc20d63f767ccdbf3077
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abaabcdce4cb9388bf02eb89ee52fa4de5bf3d7fb1fda481168c0ac599e33b4f6d23da43466f72ba0bad08cde3979d5d85912db5c12328fd6395c1b7d0d166e7
|
7
|
+
data.tar.gz: ca0f076c5048ab168763a02ecb29a867d01cdd304db968d96970c2089b08f76597139ee5aa08d0c444ef72dc9d142b96ead0c7aeaf60ef449f1c89bd65aeec21
|
data/betterstack.gemspec
CHANGED
@@ -21,6 +21,22 @@ module BetterStack
|
|
21
21
|
client.delete(resource_path(id))
|
22
22
|
end
|
23
23
|
|
24
|
+
def sections(id, params = {})
|
25
|
+
client.get("#{resource_path(id)}/sections", params)
|
26
|
+
end
|
27
|
+
|
28
|
+
def add_section(id, section_attributes)
|
29
|
+
client.post("#{resource_path(id)}/sections", section_attributes)
|
30
|
+
end
|
31
|
+
|
32
|
+
def update_section(id, section_id, attributes)
|
33
|
+
client.patch("#{resource_path(id)}/sections/#{section_id}", attributes)
|
34
|
+
end
|
35
|
+
|
36
|
+
def remove_section(id, section_id)
|
37
|
+
client.delete("#{resource_path(id)}/sections/#{section_id}")
|
38
|
+
end
|
39
|
+
|
24
40
|
def resources(id, params = {})
|
25
41
|
client.get("#{resource_path(id)}/resources", params)
|
26
42
|
end
|