Method: SDM::HTTPBasicAuth#initialize
- Defined in:
- lib/models/porcelain.rb
#initialize(id: nil, name: nil, healthy: nil, tags: nil, url: nil, healthcheck_path: nil, username: nil, password: nil, headers_blacklist: nil, default_path: nil, subdomain: nil) ⇒ HTTPBasicAuth
Returns a new instance of HTTPBasicAuth.
1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 |
# File 'lib/models/porcelain.rb', line 1241 def initialize( id: nil, name: nil, healthy: nil, tags: nil, url: nil, healthcheck_path: nil, username: nil, password: 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 != nil = end if url != nil @url = url end if healthcheck_path != nil @healthcheck_path = healthcheck_path end if username != nil @username = username end if password != nil @password = password 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 |