Class: Io::Flow::Reference::V0::HttpClient::AuthScheme
- Inherits:
-
Object
- Object
- Io::Flow::Reference::V0::HttpClient::AuthScheme
- Defined in:
- lib/io_flow_reference_v0.rb,
lib/flow_reference_v0_client.rb
Constant Summary collapse
- BASIC =
AuthScheme.new("basic")
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ AuthScheme
constructor
A new instance of AuthScheme.
Constructor Details
#initialize(name) ⇒ AuthScheme
Returns a new instance of AuthScheme.
1004 1005 1006 |
# File 'lib/io_flow_reference_v0.rb', line 1004 def initialize(name) @name = HttpClient::Preconditions.check_not_blank('name', name) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
1002 1003 1004 |
# File 'lib/io_flow_reference_v0.rb', line 1002 def name @name end |