pylon-api 0.1.0 → 0.2.0
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/CHANGELOG.md +6 -0
- data/lib/pylon/client.rb +9 -0
- data/lib/pylon/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c5b1f37ba1c9f84dbf0f1f0dd9064e85a5b64a0fe327ad3013e40dadb069d8c
|
4
|
+
data.tar.gz: 7800d67a2bcc68f30e73a1d1558296c69e2f51e45b5a19ab6316d8b9b2ce1807
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba0a41a8d95c55dc0f02b1a7e165a28f2cca04dac895d9923ccd9edeb0226ca7d67429d4dfd5f0ae7e124462fc028679b311340769d2d18f559897412b06846a
|
7
|
+
data.tar.gz: f3da4554aba19d6eca7058b075a1e40746e05fe3207dd1cd6257eba4a08f99b548341e1aeac594b95bfc5a87252c79d810d10be1c4331bb1a45737474a16efea
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## [0.2.0] - 2024-03-21
|
8
|
+
|
9
|
+
### Added
|
10
|
+
- Added `snooze_issue` method to support the new issue snooze endpoint
|
11
|
+
|
7
12
|
## [0.1.0] - 2024-03-21
|
8
13
|
|
9
14
|
### Added
|
@@ -31,4 +36,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
31
36
|
- YARD documentation for all methods
|
32
37
|
- MIT License
|
33
38
|
|
39
|
+
[0.2.0]: https://github.com/benjodo/pylon-api/compare/v0.1.0...v0.2.0
|
34
40
|
[0.1.0]: https://github.com/benjodo/pylon-api/releases/tag/v0.1.0
|
data/lib/pylon/client.rb
CHANGED
@@ -154,6 +154,15 @@ module Pylon
|
|
154
154
|
patch("/issues/#{issue_id}", body: params)
|
155
155
|
end
|
156
156
|
|
157
|
+
# Snooze an issue until a specified time
|
158
|
+
#
|
159
|
+
# @param issue_id [String] The ID or number of the issue to snooze
|
160
|
+
# @param snooze_until [String] The date and time to snooze the issue until (RFC3339 format)
|
161
|
+
# @return [Hash] Updated issue details
|
162
|
+
def snooze_issue(issue_id, snooze_until:)
|
163
|
+
post("/issues/#{issue_id}/snooze", body: { snooze_until: snooze_until })
|
164
|
+
end
|
165
|
+
|
157
166
|
# List all knowledge base articles with pagination
|
158
167
|
#
|
159
168
|
# @param page [Integer] Page number for pagination
|
data/lib/pylon/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pylon-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Odom
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
|
-
rubygems_version: 3.
|
148
|
+
rubygems_version: 3.5.22
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: Ruby client for the Pylon API
|