basecamp-sdk 0.4.0 → 0.5.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39a8cc069aaa9ee04e3d91d46e8c06932aaac5947ccbb98da863ebca3a46eadd
|
|
4
|
+
data.tar.gz: c5d16c70981ddb8a784636578a211f3ae2e58636b664fe8d2be008604e95fa61
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8cde71ee5f4b3957b62b281302e66ec5cf2eefd8a5ce91bcc658388933a2b3250b913ccb6081c1f6d9adb47c5e874f0341c5b2df1420d4e0550594d7ad5656e2
|
|
7
|
+
data.tar.gz: 486db1ccd6dfb83d41277f5c742306e7f7bfd13d3987a6fef5184a2b154c1025c5c5b5f94826dbb188c5c71c02390e18fa66156d31761f6fc829dd20e9482bf3
|
|
@@ -9,10 +9,13 @@ module Basecamp
|
|
|
9
9
|
|
|
10
10
|
# List messages on a message board
|
|
11
11
|
# @param board_id [Integer] board id ID
|
|
12
|
+
# @param sort [String, nil] created_at|updated_at
|
|
13
|
+
# @param direction [String, nil] asc|desc
|
|
12
14
|
# @return [Enumerator<Hash>] paginated results
|
|
13
|
-
def list(board_id:)
|
|
15
|
+
def list(board_id:, sort: nil, direction: nil)
|
|
14
16
|
wrap_paginated(service: "messages", operation: "list", is_mutation: false, resource_id: board_id) do
|
|
15
|
-
|
|
17
|
+
params = compact_params(sort: sort, direction: direction)
|
|
18
|
+
paginate("/message_boards/#{board_id}/messages.json", params: params)
|
|
16
19
|
end
|
|
17
20
|
end
|
|
18
21
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
# Auto-generated from OpenAPI spec. Do not edit manually.
|
|
4
|
-
# Generated: 2026-03-
|
|
4
|
+
# Generated: 2026-03-12T01:04:29Z
|
|
5
5
|
|
|
6
6
|
require "json"
|
|
7
7
|
require "time"
|
|
@@ -2180,9 +2180,9 @@ module Basecamp
|
|
|
2180
2180
|
@comments_count = parse_integer(data["comments_count"])
|
|
2181
2181
|
@comments_url = data["comments_url"]
|
|
2182
2182
|
@description = data["description"]
|
|
2183
|
-
@ends_at =
|
|
2183
|
+
@ends_at = data["ends_at"]
|
|
2184
2184
|
@participants = parse_array(data["participants"], "Person")
|
|
2185
|
-
@starts_at =
|
|
2185
|
+
@starts_at = data["starts_at"]
|
|
2186
2186
|
@subscription_url = data["subscription_url"]
|
|
2187
2187
|
end
|
|
2188
2188
|
|
data/lib/basecamp/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: basecamp-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Basecamp
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|