aptible-api 1.11.1 → 1.11.2
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/.gitignore +1 -0
- data/lib/aptible/api/account.rb +1 -0
- data/lib/aptible/api/ai_token.rb +39 -0
- data/lib/aptible/api/resource.rb +1 -0
- data/lib/aptible/api/settings.rb +2 -2
- data/lib/aptible/api/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bd9276b8e979050ccc45108a050a16e142cf577b2ef6aadc274455e4975061cc
|
|
4
|
+
data.tar.gz: 9a5929e1d7acbc030b24ecbaa6816c59769d2d43805854a5137b76e127a3d201
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1e61a0b6c7de497cb9fd60e7258a4395ca55f6c5237ba63124016ed72c68e84b0ac0f9ac143838a8210659145afebd187fb9a1891d2878ce34a7cf793f7f2cf0
|
|
7
|
+
data.tar.gz: 3e4a18a1f5dc7254a002fc8b88b147d2cc8bfcb1bb0f13a80eb9e76a825f2e2d30f00db7e81631587bded8670e8a63e36195e9e2d79ad5c0a87d35dddedbe04a
|
data/.gitignore
CHANGED
data/lib/aptible/api/account.rb
CHANGED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
module Aptible
|
|
2
|
+
module Api
|
|
3
|
+
class AiToken < Resource
|
|
4
|
+
belongs_to :account
|
|
5
|
+
|
|
6
|
+
field :id
|
|
7
|
+
field :name
|
|
8
|
+
field :created_at
|
|
9
|
+
field :updated_at
|
|
10
|
+
field :expires_at
|
|
11
|
+
field :last_used_at
|
|
12
|
+
field :revoked_at
|
|
13
|
+
field :gateway_url
|
|
14
|
+
# User (on whose behalf) details
|
|
15
|
+
field :created_by_user_id
|
|
16
|
+
field :created_by_user_name
|
|
17
|
+
field :created_by_user_email
|
|
18
|
+
# Actor (who performed) details
|
|
19
|
+
field :created_by_actor_id
|
|
20
|
+
field :created_by_actor_name
|
|
21
|
+
field :created_by_actor_email
|
|
22
|
+
# Revoked by user details
|
|
23
|
+
field :revoked_by_user_id
|
|
24
|
+
field :revoked_by_user_name
|
|
25
|
+
field :revoked_by_user_email
|
|
26
|
+
# Revoked by actor details
|
|
27
|
+
field :revoked_by_actor_id
|
|
28
|
+
field :revoked_by_actor_name
|
|
29
|
+
field :revoked_by_actor_email
|
|
30
|
+
|
|
31
|
+
# Note: The 'token' field from API response is accessible via
|
|
32
|
+
# attributes['token'] to avoid conflict with aptible-resource's
|
|
33
|
+
# internal token handling (used for auth bearer token)
|
|
34
|
+
def api_key
|
|
35
|
+
attributes['token']
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
data/lib/aptible/api/resource.rb
CHANGED
data/lib/aptible/api/settings.rb
CHANGED
data/lib/aptible/api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aptible-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.11.
|
|
4
|
+
version: 1.11.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Frank Macreery
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-12-
|
|
11
|
+
date: 2025-12-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aptible-auth
|
|
@@ -190,6 +190,7 @@ files:
|
|
|
190
190
|
- lib/aptible/api/account.rb
|
|
191
191
|
- lib/aptible/api/active_plan.rb
|
|
192
192
|
- lib/aptible/api/agent.rb
|
|
193
|
+
- lib/aptible/api/ai_token.rb
|
|
193
194
|
- lib/aptible/api/ami.rb
|
|
194
195
|
- lib/aptible/api/ami_release.rb
|
|
195
196
|
- lib/aptible/api/app.rb
|
|
@@ -262,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
262
263
|
- !ruby/object:Gem::Version
|
|
263
264
|
version: '0'
|
|
264
265
|
requirements: []
|
|
265
|
-
rubygems_version: 3.
|
|
266
|
+
rubygems_version: 3.1.6
|
|
266
267
|
signing_key:
|
|
267
268
|
specification_version: 4
|
|
268
269
|
summary: Ruby client for api.aptible.com
|