Sha256: 4fcf176b29d56a745a9dc859e420573ea3f2be8dff2c214b6db3eb3f66442f2d
Contents?: true
Size: 465 Bytes
Versions: 17
Compression:
Stored size: 465 Bytes
Contents
# frozen_string_literal: true module Rollo module Model class Host def initialize(instance) @instance = instance end def id @instance.id end def terminate @instance.terminate(should_decrement_desired_capacity: false) end def in_service? @instance.lifecycle_state == 'InService' end def healthy? @instance.health_status == 'Healthy' end end end end
Version data entries
17 entries across 17 versions & 1 rubygems