buezli-api 0.1.1 → 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: 46c3eaef0c534db886a6f3536098616b004bc520629a00398651e3d9f4ae2427
4
- data.tar.gz: 78cc040c2aaad5dc8e98b7795b056d2716293d1869eb08dcc2df085c4d35e82b
3
+ metadata.gz: 72afbc79a92f0dcf2fa04d2845f1e32c92e6b3f7458a577bc6035bd0900fb029
4
+ data.tar.gz: 33431ed374dd3736966ec91ed11d98dac857800269d36caa169c719fd32a66f8
5
5
  SHA512:
6
- metadata.gz: 4bb3820291636601435a7424404f455e2da6d20864920c4a030d1476cf70c670c0be6c66ac7e5b8d95c9bc448231f5a8a42ffded32312dd44346cd56ec24eb47
7
- data.tar.gz: a9500ba6c2bffe3c20afcf3063f88d9493699226958b66c1f00aa46dfd08a702149a03a1e856b7003d46f6d33c8be4088b1c3ae911a897f78f439bd79b07b322
6
+ metadata.gz: 706ecfa2d6bfff78c0688307c91f02ad5bb5830da79a615cfdd7f986eeff5963de37e73b2fc49bc081b679a9320f48f358cd46837bcf85e058ac19457bda420f
7
+ data.tar.gz: 8aa3ca708ddccc580eb38789af9cf5b8fd511a1c8fb3785f38c5ff9eb3546470b4e9290b6b3a20c280999d850a956ef30c5ed2a15e736ec63c67756ca7f65e96
data/README.md CHANGED
@@ -34,6 +34,10 @@ invoice.updated_at # Time
34
34
  invoice.total # { "cents" => 10810, "currency" => "CHF" }
35
35
  invoice.client.name
36
36
  invoice.line_items.first.description
37
+
38
+ account = client.retrieve_account # the account the token reads
39
+ account.id
40
+ account.name
37
41
  ```
38
42
 
39
43
  The default endpoint is `https://api.buezli.app`, and the newest bundled
@@ -1,5 +1,5 @@
1
1
  module Buezli
2
2
  module Api
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
@@ -1,6 +1,16 @@
1
1
  {
2
2
  "version": "2026-07-14",
3
3
  "models": {
4
+ "Account": {
5
+ "resource_name": "account",
6
+ "attributes": {
7
+ "id": "integer",
8
+ "created_at": "datetime",
9
+ "updated_at": "datetime",
10
+ "name": "string"
11
+ },
12
+ "associations": {}
13
+ },
4
14
  "Client": {
5
15
  "resource_name": "clients",
6
16
  "attributes": {
@@ -121,7 +131,6 @@
121
131
  "billable": "boolean",
122
132
  "billed": "boolean",
123
133
  "reimbursed": "boolean",
124
- "archived_at": "datetime",
125
134
  "receipt": "download"
126
135
  },
127
136
  "associations": {
@@ -405,6 +414,13 @@
405
414
  }
406
415
  },
407
416
  "endpoints": {
417
+ "account": [
418
+ {
419
+ "action": "show",
420
+ "verb": "GET",
421
+ "path": "/2026-07-14/account"
422
+ }
423
+ ],
408
424
  "clients": [
409
425
  {
410
426
  "action": "index",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buezli-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codegestalt
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  requirements: []
98
- rubygems_version: 4.0.17
98
+ rubygems_version: 4.0.20
99
99
  specification_version: 4
100
100
  summary: Schema-driven Ruby client for the Buezli API
101
101
  test_files: []