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
33 34 35 |
# File 'lib/aikido/zen/request/schema/auth_schemas.rb', line 33 def location @location end |
#name ⇒ Object
Returns the value of attribute name
33 34 35 |
# File 'lib/aikido/zen/request/schema/auth_schemas.rb', line 33 def name @name end |
Instance Method Details
#as_json ⇒ Object
34 35 36 |
# File 'lib/aikido/zen/request/schema/auth_schemas.rb', line 34 def as_json {type: "apiKey", in: location, name: name}.compact end |