Class: SDM::HTTPNoAuth
- Inherits:
-
Object
- Object
- SDM::HTTPNoAuth
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#default_path ⇒ Object
Returns the value of attribute default_path.
-
#headers_blacklist ⇒ Object
Returns the value of attribute headers_blacklist.
-
#healthcheck_path ⇒ Object
Returns the value of attribute healthcheck_path.
-
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
-
#id ⇒ Object
Unique identifier of the Resource.
-
#name ⇒ Object
Unique human-readable name of the Resource.
-
#subdomain ⇒ Object
Returns the value of attribute subdomain.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(id: nil, name: nil, healthy: nil, url: nil, healthcheck_path: nil, headers_blacklist: nil, default_path: nil, subdomain: nil) ⇒ HTTPNoAuth
constructor
A new instance of HTTPNoAuth.
Constructor Details
#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 |
Instance Attribute Details
#default_path ⇒ Object
Returns the value of attribute default_path.
1007 1008 1009 |
# File 'lib/models/porcelain.rb', line 1007 def default_path @default_path end |
#headers_blacklist ⇒ Object
Returns the value of attribute headers_blacklist.
1005 1006 1007 |
# File 'lib/models/porcelain.rb', line 1005 def headers_blacklist @headers_blacklist end |
#healthcheck_path ⇒ Object
Returns the value of attribute healthcheck_path.
1003 1004 1005 |
# File 'lib/models/porcelain.rb', line 1003 def healthcheck_path @healthcheck_path end |
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
999 1000 1001 |
# File 'lib/models/porcelain.rb', line 999 def healthy @healthy end |
#id ⇒ Object
Unique identifier of the Resource.
995 996 997 |
# File 'lib/models/porcelain.rb', line 995 def id @id end |
#name ⇒ Object
Unique human-readable name of the Resource.
997 998 999 |
# File 'lib/models/porcelain.rb', line 997 def name @name end |
#subdomain ⇒ Object
Returns the value of attribute subdomain.
1009 1010 1011 |
# File 'lib/models/porcelain.rb', line 1009 def subdomain @subdomain end |
#url ⇒ Object
Returns the value of attribute url.
1001 1002 1003 |
# File 'lib/models/porcelain.rb', line 1001 def url @url end |