aptible-api 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aptible/api/active_plan.rb +24 -0
- data/lib/aptible/api/container.rb +1 -0
- data/lib/aptible/api/plan.rb +20 -0
- data/lib/aptible/api/resource.rb +2 -0
- data/lib/aptible/api/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49046addfd3fae3383875f043b21e5ad8a09028f568c7f7545a420e63d50bcd8
|
4
|
+
data.tar.gz: bfe029ca214e1f0ea5f892b90162e012c77e2cc6dcef9db86583dc49c2a3a6ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a915a1390a5183e291091bbadec3d8fc87463abc6e3e418556f38d2894533a831ca12ff663e5b7a81e3508ec836101eaf42b40ed2ddf703385d25c62df96a02
|
7
|
+
data.tar.gz: d6587b1a4e5800c7981abff113ea883177d32fb0748617d6346b537579190a92c2d9002fff7d5b156921c97a8c16f46a22d51e3d0d1ada5924e67839aa44d1ec
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module Aptible
|
2
|
+
module Api
|
3
|
+
class ActivePlan < Resource
|
4
|
+
belongs_to :plan
|
5
|
+
|
6
|
+
field :id
|
7
|
+
field :plan_id
|
8
|
+
field :container_memory_limit_mb
|
9
|
+
field :cpu_allowed_profiles
|
10
|
+
field :disk_limit_gb
|
11
|
+
field :ephemeral_session_limit
|
12
|
+
field :environment_limit
|
13
|
+
field :vhost_limit
|
14
|
+
field :compliance_dashboard_access
|
15
|
+
field :available_plans
|
16
|
+
field :included_container_mb
|
17
|
+
field :included_disk_gb
|
18
|
+
field :included_vhosts
|
19
|
+
field :organization_id
|
20
|
+
field :created_at, type: Time
|
21
|
+
field :updated_at, type: Time
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Aptible
|
2
|
+
module Api
|
3
|
+
class Plan < Resource
|
4
|
+
field :id
|
5
|
+
field :name
|
6
|
+
field :container_memory_limit_mb
|
7
|
+
field :cpu_allowed_profiles
|
8
|
+
field :disk_limit_gb
|
9
|
+
field :ephemeral_session_limit
|
10
|
+
field :environment_limit
|
11
|
+
field :vhost_limit
|
12
|
+
field :compliance_dashboard_access
|
13
|
+
field :included_container_mb
|
14
|
+
field :included_disk_gb
|
15
|
+
field :included_vhosts
|
16
|
+
field :created_at, type: Time
|
17
|
+
field :updated_at, type: Time
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
data/lib/aptible/api/resource.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.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank Macreery
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aptible-auth
|
@@ -198,6 +198,7 @@ files:
|
|
198
198
|
- aptible-api.gemspec
|
199
199
|
- lib/aptible/api.rb
|
200
200
|
- lib/aptible/api/account.rb
|
201
|
+
- lib/aptible/api/active_plan.rb
|
201
202
|
- lib/aptible/api/agent.rb
|
202
203
|
- lib/aptible/api/ami.rb
|
203
204
|
- lib/aptible/api/ami_release.rb
|
@@ -222,6 +223,7 @@ files:
|
|
222
223
|
- lib/aptible/api/metric_drain.rb
|
223
224
|
- lib/aptible/api/operation.rb
|
224
225
|
- lib/aptible/api/permission.rb
|
226
|
+
- lib/aptible/api/plan.rb
|
225
227
|
- lib/aptible/api/prerelease_command.rb
|
226
228
|
- lib/aptible/api/release.rb
|
227
229
|
- lib/aptible/api/resource.rb
|