Method: Scimitar::Engine.schemas
- Defined in:
- lib/scimitar/engine.rb
.schemas ⇒ Object
Returns a flat array of instances of all resource schema included in the resource classes returned by ::resources.
28 29 30 |
# File 'lib/scimitar/engine.rb', line 28 def self.schemas self.resources().map(&:schemas).flatten.uniq.map(&:new) end |