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 +4 -4
- data/README.md +4 -0
- data/lib/buezli/api/version.rb +1 -1
- data/schemas/2026-07-14.json +17 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 72afbc79a92f0dcf2fa04d2845f1e32c92e6b3f7458a577bc6035bd0900fb029
|
|
4
|
+
data.tar.gz: 33431ed374dd3736966ec91ed11d98dac857800269d36caa169c719fd32a66f8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/buezli/api/version.rb
CHANGED
data/schemas/2026-07-14.json
CHANGED
|
@@ -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.
|
|
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.
|
|
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: []
|