Stannum

A library for defining and validating data structures.

Class: Stannum::Association::Builder

Parent Namespace
Stannum::Association
Defined In
lib/stannum/association.rb

Table Of Contents

Overview

Builder class for defining association methods on an entity.

Back To Top

Constructor

#initialize(schema) => Builder

Parameters

Returns

Back To Top

Instance Attributes

#schema => Stannum::Schema (readonly)

Returns

Back To Top

Instance Methods

#call(association) => Object

Defines the reader and writer methods for the association.

Parameters

Back To Top


Back to Documentation | Reference | Stannum | Stannum::Association