Class: Io::Flow::V0::HttpClient::AuthScheme
- Inherits:
-
Object
- Object
- Io::Flow::V0::HttpClient::AuthScheme
- Defined in:
- lib/flow_commerce/flow_api_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.
29681 29682 29683 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 29681 def initialize(name) @name = HttpClient::Preconditions.check_not_blank('name', name) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
29679 29680 29681 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 29679 def name @name end |