Class: ApiSchema::ResourceDefinition::HeaderParam

Inherits:
Struct
  • Object
show all
Defined in:
lib/api_schema/resource_definition.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



16
17
18
# File 'lib/api_schema/resource_definition.rb', line 16

def name
  @name
end

#requiredObject

Returns the value of attribute required

Returns:

  • (Object)

    the current value of required



16
17
18
# File 'lib/api_schema/resource_definition.rb', line 16

def required
  @required
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



16
17
18
# File 'lib/api_schema/resource_definition.rb', line 16

def type
  @type
end