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

Inherits:
Object
  • Object
show all
Defined in:
lib/flow_commerce/flow_api_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.



56277
56278
56279
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 56277

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



56275
56276
56277
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 56275

def name
  @name
end