Class: Aikido::Zen::Request::Schema::AuthSchemas::Authorization

Inherits:
Struct
  • Object
show all
Defined in:
lib/aikido/zen/request/schema/auth_schemas.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#schemeObject

Returns the value of attribute scheme

Returns:

  • (Object)

    the current value of scheme



27
28
29
# File 'lib/aikido/zen/request/schema/auth_schemas.rb', line 27

def scheme
  @scheme
end

Instance Method Details

#as_jsonObject



28
29
30
# File 'lib/aikido/zen/request/schema/auth_schemas.rb', line 28

def as_json
  {type: "http", scheme: scheme.downcase}
end