Class: Kitsune::Kit::Configuration::Server
- Inherits:
-
Object
- Object
- Kitsune::Kit::Configuration::Server
- Defined in:
- lib/kitsune/kit/configuration.rb
Instance Method Summary collapse
-
#initialize(name:, region:, size:, image:, ssh_key_id:, tags: []) ⇒ Server
constructor
A new instance of Server.
Constructor Details
#initialize(name:, region:, size:, image:, ssh_key_id:, tags: []) ⇒ Server
Returns a new instance of Server.
22 23 24 25 26 27 28 29 30 31 |
# File 'lib/kitsune/kit/configuration.rb', line 22 def initialize(name:, region:, size:, image:, ssh_key_id:, tags: []) super( name: name.to_s, region: region.to_s, size: size.to_s, image: image.to_s, ssh_key_id: ssh_key_id.to_s, tags: Array().map(&:to_s).freeze ) end |