hyperbuffs v0.1.0 HyperBuffs.View

Link to this section Summary

Functions

Defines stub view methods for each of the defs passed in. As our proto objects define the view templates themselves, this is a convenience method for generating the JSON and Proto views

Link to this section Functions

Link to this macro __using__(opts) (macro)

Defines stub view methods for each of the defs passed in. As our proto objects define the view templates themselves, this is a convenience method for generating the JSON and Proto views.

Example:

def MyView do
  use HyperBuffs.View, defs: [Defs.MyProto]
end