Method: SDM::Gateway#initialize
- Defined in:
- lib/models/porcelain.rb
#initialize(id: nil, name: nil, state: nil, listen_address: nil, bind_address: nil, tags: nil) ⇒ Gateway
Returns a new instance of Gateway.
4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 |
# File 'lib/models/porcelain.rb', line 4796 def initialize( id: nil, name: nil, state: nil, listen_address: nil, bind_address: nil, tags: nil ) if id != nil @id = id end if name != nil @name = name end if state != nil @state = state end if listen_address != nil @listen_address = listen_address end if bind_address != nil @bind_address = bind_address end if != nil @tags = end end |