Class: Io::Flow::Reference::V0::HttpClient::AuthScheme

Inherits:
Object
  • Object
show all
Defined in:
lib/flow_reference_v0_client.rb

Constant Summary collapse

BASIC =
AuthScheme.new("basic")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ AuthScheme

Returns a new instance of AuthScheme.



1272
1273
1274
# File 'lib/flow_reference_v0_client.rb', line 1272

def initialize(name)
  @name = HttpClient::Preconditions.check_not_blank('name', name)
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



1270
1271
1272
# File 'lib/flow_reference_v0_client.rb', line 1270

def name
  @name
end