platehub/plate_api

View on GitHub
lib/plate_api/plate_object/row.rb

Summary

Maintainability
A
0 mins
Test Coverage
module PlateApi::PlateObject
  class Row < Base

    has_one :section, "PlateApi::PlateObject::Section"
    has_many :columns, :column, "PlateApi::PlateObject::Column", true
    has_many :elements, :element, "PlateApi::PlateObject::Element"

    def self.api_name
      "rows"
    end

    def self.parent_class
      Section
    end
  end
end