class ROM::HTTP::Associations::ManyToOne
ManyToOne
implementation
Public Instance Methods
call(target: self.target)
click to toggle source
# File lib/rom/http/associations/many_to_one.rb, line 10 def call(target: self.target) raise MissingAssociationViewError, "must override view" unless view schema = target.schema.qualified relation = target apply_view(schema, relation) end