megam_api 1.9.8 → 1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/megam/api/version.rb +1 -1
- data/lib/megam/mixins/common_deployable.rb +9 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e91f998c5bb1d48e63a95947fdafbf14bf7d929b
|
4
|
+
data.tar.gz: 1bab47dcd854ed876737a0c2e24a6abe61c85caf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ab088c5533e497c41ba66dc7acb1f007ac06736a3704574a4aae045e0ec1dace45e158caa49bfd79e1066605070390b9a3046d2a64e5bc67f01b45c5788775a
|
7
|
+
data.tar.gz: 0cdd53e1f6d6453d9c90fafc8cfd9b13110d3e4301428e7cb93fe6898855b3d42d2f115d41c92d755e6675023f273bd9f44502683c29962cf5e5cc7bfbba42a7
|
data/lib/megam/api/version.rb
CHANGED
@@ -57,7 +57,9 @@ module Megam
|
|
57
57
|
|
58
58
|
attr_reader :domain, :keypairoption, :root_password, :sshkey, :provider, :cpu, :ram, :hdd,
|
59
59
|
:version, :display_name, :password, :region, :resource, :storage_hddtype,
|
60
|
-
:ipv4public, :ipv4private, :ipv6public, :ipv6private, :bitnami_username, :bitnami_password, :root_username, :snapshot, :snap_name, :quota_id
|
60
|
+
:ipv4public, :ipv4private, :ipv6public, :ipv6private, :bitnami_username, :bitnami_password, :root_username, :snapshot, :snap_name, :quota_id,
|
61
|
+
:vm_cpu_cost_per_hour, :vm_ram_cost_per_hour,
|
62
|
+
:vm_disk_cost_per_hour, :container_cpu_cost_per_hour, :container_memory_cost_per_hour
|
61
63
|
|
62
64
|
ATTRIBUTES = [
|
63
65
|
:domain,
|
@@ -83,7 +85,12 @@ module Megam
|
|
83
85
|
:root_username,
|
84
86
|
:snapshot,
|
85
87
|
:snap_name,
|
86
|
-
:quota_id
|
88
|
+
:quota_id,
|
89
|
+
:vm_cpu_cost_per_hour,
|
90
|
+
:vm_ram_cost_per_hour,
|
91
|
+
:vm_disk_cost_per_hour,
|
92
|
+
:container_cpu_cost_per_hour,
|
93
|
+
:container_memory_cost_per_hour]
|
87
94
|
|
88
95
|
def attributes
|
89
96
|
ATTRIBUTES
|