Class: V1::Ont::WellResource

Inherits:
JSONAPI::Resource
  • Object
show all
Defined in:
app/resources/v1/ont/well_resource.rb

Overview

Note:

This resource cannot be accessed via the /v1/ont/wells/ endpoint.

Provides a JSON:API representation of Ont::Well

It is accessible via the nested route under Ont::Plate using includes.

Instance Attribute Summary collapse

Instance Attribute Details

#positionString

Returns the position of the well.

Returns:

  • (String)

    the position of the well



15
# File 'app/resources/v1/ont/well_resource.rb', line 15

attributes :position