Method: SDM::Gateway#initialize
- Defined in:
- lib/models/porcelain.rb
#initialize(id: nil, name: nil, state: nil, listen_address: nil, bind_address: nil) ⇒ Gateway
Returns a new instance of Gateway.
3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 |
# File 'lib/models/porcelain.rb', line 3841 def initialize( id: nil, name: nil, state: nil, listen_address: nil, bind_address: 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 end |