Class: Aikido::Zen::Request::Schema::AuthSchemas::Authorization
- Inherits:
-
Struct
- Object
- Struct
- Aikido::Zen::Request::Schema::AuthSchemas::Authorization
- Defined in:
- lib/aikido/zen/request/schema/auth_schemas.rb
Instance Attribute Summary collapse
-
#scheme ⇒ Object
Returns the value of attribute scheme.
Instance Method Summary collapse
Instance Attribute Details
#scheme ⇒ Object
Returns the value of attribute scheme
27 28 29 |
# File 'lib/aikido/zen/request/schema/auth_schemas.rb', line 27 def scheme @scheme end |
Instance Method Details
#as_json ⇒ Object
28 29 30 |
# File 'lib/aikido/zen/request/schema/auth_schemas.rb', line 28 def as_json {type: "http", scheme: scheme.downcase} end |