Class: ApiSchema::ResourceDefinition::PathParam

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



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

def name
  @name
end

#requiredObject

Returns the value of attribute required

Returns:

  • (Object)

    the current value of required



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

def required
  @required
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



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

def type
  @type
end