Method: SDM::HTTPNoAuth#initialize
- Defined in:
- lib/models/porcelain.rb
#initialize(id: nil, name: nil, healthy: nil, url: nil, healthcheck_path: nil, headers_blacklist: nil, default_path: nil, subdomain: nil) ⇒ HTTPNoAuth
Returns a new instance of HTTPNoAuth.
1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/models/porcelain.rb', line 1010 def initialize( id:nil \ , name:nil \ , healthy:nil \ , url:nil \ , healthcheck_path:nil \ , headers_blacklist:nil \ , default_path:nil \ , subdomain:nil \ ) if id != nil @id = id end if name != nil @name = name end if healthy != nil @healthy = healthy end if url != nil @url = url end if healthcheck_path != nil @healthcheck_path = healthcheck_path end if headers_blacklist != nil @headers_blacklist = headers_blacklist end if default_path != nil @default_path = default_path end if subdomain != nil @subdomain = subdomain end end |