Class: Aikido::Zen::Request::Schema::AuthSchemas::ApiKey
- Inherits:
-
Struct
- Object
- Struct
- Aikido::Zen::Request::Schema::AuthSchemas::ApiKey
- Defined in:
- lib/aikido/zen/request/schema/auth_schemas.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
Returns the value of attribute location.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#location ⇒ Object
Returns the value of attribute location
48 49 50 |
# File 'lib/aikido/zen/request/schema/auth_schemas.rb', line 48 def location @location end |
#name ⇒ Object
Returns the value of attribute name
48 49 50 |
# File 'lib/aikido/zen/request/schema/auth_schemas.rb', line 48 def name @name end |
Instance Method Details
#as_json ⇒ Object
49 50 51 |
# File 'lib/aikido/zen/request/schema/auth_schemas.rb', line 49 def as_json {"type" => "apiKey", "in" => location, "name" => name}.compact end |