Class: Orchparty::Kubernetes::ServiceBuilder

Inherits:
CommonBuilder show all
Defined in:
lib/orchparty/dsl_parser_kubernetes.rb

Instance Method Summary collapse

Methods inherited from CommonBuilder

#_build, #method_missing, #mix, #variables

Methods inherited from Builder

#assign_or_merge, build

Constructor Details

#initialize(name, type) ⇒ ServiceBuilder

Returns a new instance of ServiceBuilder.



326
327
328
# File 'lib/orchparty/dsl_parser_kubernetes.rb', line 326

def initialize(name, type)
  super AST.service(name: name, _type: type)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Orchparty::Kubernetes::CommonBuilder