Class: ApiSchema::ResourceDefinition::QueryParam

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



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

def name
  @name
end

#requiredObject

Returns the value of attribute required



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

def required
  @required
end

#typeObject

Returns the value of attribute type



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

def type
  @type
end