Class: Avm::EacWebappBase0::Instances::DeployInfo
- Inherits:
-
Object
- Object
- Avm::EacWebappBase0::Instances::DeployInfo
- Defined in:
- lib/avm/eac_webapp_base0/instances/deploy_info.rb
Class Method Summary collapse
- .from_hash(hash) ⇒ Avm::EacWebappBase0::Instances::DeployInfo
- .from_string(string) ⇒ Avm::EacWebappBase0::Instances::DeployInfo
Instance Method Summary collapse
Class Method Details
.from_hash(hash) ⇒ Avm::EacWebappBase0::Instances::DeployInfo
12 13 14 |
# File 'lib/avm/eac_webapp_base0/instances/deploy_info.rb', line 12 def from_hash(hash) new(hash) end |
.from_string(string) ⇒ Avm::EacWebappBase0::Instances::DeployInfo
18 19 20 |
# File 'lib/avm/eac_webapp_base0/instances/deploy_info.rb', line 18 def from_string(string) from_hash(::EacRubyUtils::Yaml.load(string)) end |
Instance Method Details
#to_h ⇒ Hash
28 |
# File 'lib/avm/eac_webapp_base0/instances/deploy_info.rb', line 28 delegate :to_h, to: :data |
#to_yaml ⇒ String
31 32 33 |
# File 'lib/avm/eac_webapp_base0/instances/deploy_info.rb', line 31 def to_yaml ::EacRubyUtils::Yaml.dump(to_h) end |