Class: ROM::Github::Schema

Inherits:
HTTP::Schema
  • Object
show all
Defined in:
lib/rom/github/schema.rb

Instance Method Summary collapse

Instance Method Details

#finalize_associations!(relations:) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/rom/github/schema.rb', line 4

def finalize_associations!(relations:)
  super do
    associations.map do |definition|
      ROM::Github::Associations.const_get(definition.type).new(definition, relations)
    end
  end
end