Class: DryOpenApi::DataType

Inherits:
Struct
  • Object
show all
Defined in:
lib/dry_open_api/data_types.rb

Instance Attribute Summary collapse

Instance Attribute Details

#formatObject

Returns the value of attribute format

Returns:

  • (Object)

    the current value of format



2
3
4
# File 'lib/dry_open_api/data_types.rb', line 2

def format
  @format
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/dry_open_api/data_types.rb', line 2

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



2
3
4
# File 'lib/dry_open_api/data_types.rb', line 2

def type
  @type
end