pike13 0.1.2 → 0.1.3

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: d5117c5f082b975cbb6e9a129a6307053ec1f467d38308afe24720177bd83672
4
- data.tar.gz: ad02587897b224c080c5f239fb76a9006a020467a408a570397a03fb685d2d7c
3
+ metadata.gz: 6987b081753d6939cce1fb2783a3a6f68f1c5f44b8ba10b9de091e2de5ca4b6a
4
+ data.tar.gz: 755fd58715c57734e68276d5e05e3893ba47321f871a4dde3197347db7299577
5
5
  SHA512:
6
- metadata.gz: 1ae0eb982ed50a1ada4b807be1ae05aa891a8a9ff92552dfe86bb872ddd2e22d0f5d93073b823a15345ede7c33c0df60e0ea51f1f081f586bef2ac4135b7713c
7
- data.tar.gz: 87559b54a79aee56f30a28f4cf6cd3b12b65d73a9d6863d89de77075dd7bfaea0fe3f9f7108759e94fe57fcfe01755a1f2fcc9db02f87f1ad3da55c81de00384
6
+ metadata.gz: d65e0c49d5ed5f749c55504da384f9d2b52be2e16632dadea2f1d14e932edf135842be1626863aff8e1affe4f0c714fbcaf23d1bd21924081a79289b0ac8a62f
7
+ data.tar.gz: 16b8ae4034dd0d6da0769f9e0d93a80c5165c0bdc5248523618a35f3442219fa2c7387960208860c682e4ba96819022a28c1d315a1a82b73ff90c830fa067c6c
data/CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.1.3] - 2025-11-13
9
+
10
+ ### Fixed
11
+ - **Desk::CustomField**: Removed unsupported `find(id)` method that was not supported by the Pike13 API v2.
12
+
8
13
  ## [0.1.2] - 2025-11-06
9
14
 
10
15
  ### Fixed
data/README.md CHANGED
@@ -130,6 +130,9 @@ Pike13::Desk::Person.destroy(123)
130
130
  ```ruby
131
131
  # Get business details
132
132
  Pike13::Desk::Business.find
133
+
134
+ # Get franchisees (for franchise businesses)
135
+ Pike13::Desk::Business.franchisees
133
136
  ```
134
137
 
135
138
  #### Events & Event Occurrences
@@ -179,10 +182,17 @@ Pike13::Desk::Appointment.available_slots_summary(
179
182
  **Note:** Creating bookings requires an `idempotency_token` parameter to prevent duplicate bookings.
180
183
 
181
184
  ```ruby
185
+ # Booking operations
182
186
  Pike13::Desk::Booking.find(123)
183
187
  Pike13::Desk::Booking.create(event_occurrence_id: 789, person_id: 123, idempotency_token: SecureRandom.uuid)
184
188
  Pike13::Desk::Booking.update(456, state: "completed")
185
189
  Pike13::Desk::Booking.destroy(456)
190
+
191
+ # Lease management within bookings
192
+ Pike13::Desk::Booking.find_lease(booking_id: 123, id: 456)
193
+ Pike13::Desk::Booking.create_lease(123, event_occurrence_id: 789, person: { id: 1 })
194
+ Pike13::Desk::Booking.update_lease(123, 456, person: { id: 2 })
195
+ Pike13::Desk::Booking.destroy_lease(123, 456)
186
196
  ```
187
197
 
188
198
  #### Visits
@@ -273,7 +283,6 @@ Pike13::Desk::WaitlistEntry.find(1200) # Find waitlist entry
273
283
 
274
284
  ```ruby
275
285
  Pike13::Desk::CustomField.all # List custom fields
276
- Pike13::Desk::CustomField.find(30) # Find custom field
277
286
  ```
278
287
 
279
288
  #### Person-Related Resources
@@ -298,6 +307,7 @@ Client-facing interface with limited read-only access.
298
307
 
299
308
  ```ruby
300
309
  Pike13::Front::Business.find # Get business info
310
+ Pike13::Front::Business.franchisees # Get franchisees (for franchise businesses)
301
311
  Pike13::Front::Branding.find # Get branding
302
312
  ```
303
313
 
@@ -333,11 +343,17 @@ Pike13::Front::Appointment.available_slots_summary(service_id: 100, from: "2025-
333
343
  **Note:** Creating bookings requires an `idempotency_token` parameter to prevent duplicate bookings.
334
344
 
335
345
  ```ruby
346
+ # Booking operations
336
347
  Pike13::Front::Booking.find(123)
337
- Pike13::Front::Booking.find_lease(booking_id: 123, id: 456)
338
348
  Pike13::Front::Booking.create(event_occurrence_id: 789, person_id: 123, idempotency_token: SecureRandom.uuid)
339
349
  Pike13::Front::Booking.update(456, state: "completed")
340
350
  Pike13::Front::Booking.destroy(456)
351
+
352
+ # Lease management within bookings
353
+ Pike13::Front::Booking.find_lease(booking_id: 123, id: 456)
354
+ Pike13::Front::Booking.create_lease(123, event_occurrence_id: 789, person: { id: 1 })
355
+ Pike13::Front::Booking.update_lease(123, 456, person: { id: 2 })
356
+ Pike13::Front::Booking.destroy_lease(123, 456)
341
357
  ```
342
358
 
343
359
  #### Visits
@@ -10,11 +10,6 @@ module Pike13
10
10
  def all
11
11
  client.get("desk/custom_fields")
12
12
  end
13
-
14
- # GET /desk/custom_fields/:id
15
- def find(id)
16
- client.get("desk/custom_fields/#{id}")
17
- end
18
13
  end
19
14
  end
20
15
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pike13
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pike13
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Huttemann
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
- rubygems_version: 3.6.9
143
+ rubygems_version: 3.7.2
144
144
  specification_version: 4
145
145
  summary: Ruby client for the Pike13 API
146
146
  test_files: []