buezli-api 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: 5e4d746c7b508109e1896d98300758f107a97fdbfe64bd439feb4dfc98761c37
4
- data.tar.gz: a5f48e884c350e166830235daefc1dd125aa501db9d72e952640a0f445c6ac84
3
+ metadata.gz: 72afbc79a92f0dcf2fa04d2845f1e32c92e6b3f7458a577bc6035bd0900fb029
4
+ data.tar.gz: 33431ed374dd3736966ec91ed11d98dac857800269d36caa169c719fd32a66f8
5
5
  SHA512:
6
- metadata.gz: 1345512e1edfb1d7e39ff14382aea541f765cc67ad84881df85c010f6c6077351b85995829fba54fa2c37b950f13998b22b75e0761ff9930ca12397f29167885
7
- data.tar.gz: 6dd16db61383718cf748a765da0792b9a11401ae22de4784b77e754122eb0764ae73687b399f8290a1d1c38e9211d5a6ce11398075073bb99c69afc8b4e2a79d
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.2"
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": {
@@ -404,6 +414,13 @@
404
414
  }
405
415
  },
406
416
  "endpoints": {
417
+ "account": [
418
+ {
419
+ "action": "show",
420
+ "verb": "GET",
421
+ "path": "/2026-07-14/account"
422
+ }
423
+ ],
407
424
  "clients": [
408
425
  {
409
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.2
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: []