Method: SDM::Gateway#initialize
- Defined in:
- lib/models/porcelain.rb
#initialize(bind_address: nil, gateway_filter: nil, id: nil, listen_address: nil, name: nil, state: nil, tags: nil) ⇒ Gateway
Returns a new instance of Gateway.
2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 |
# File 'lib/models/porcelain.rb', line 2409 def initialize( bind_address: nil, gateway_filter: nil, id: nil, listen_address: nil, name: nil, state: nil, tags: nil ) @bind_address = bind_address == nil ? "" : bind_address @gateway_filter = gateway_filter == nil ? "" : gateway_filter @id = id == nil ? "" : id @listen_address = listen_address == nil ? "" : listen_address @name = name == nil ? "" : name @state = state == nil ? "" : state @tags = == nil ? SDM::() : end |