Method: SDM::Service#initialize
- Defined in:
- lib/models/porcelain.rb
#initialize(id: nil, name: nil, suspended: nil, tags: nil) ⇒ Service
Returns a new instance of Service.
621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 |
# File 'lib/models/porcelain.rb', line 621 def initialize( id: nil, name: nil, suspended: nil, tags: nil ) if id != nil @id = id end if name != nil @name = name end if suspended != nil @suspended = suspended end if != nil @tags = end end |