Class: Anchor::Inference::JSONAPI::Infer::Shell
- Defined in:
- lib/anchor/inference/jsonapi/infer/shell.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Anchor::Inference::JSONAPI::Infer::Base
Instance Method Details
#infer ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/anchor/inference/jsonapi/infer/shell.rb', line 3 def infer object({ id: unknown, type: unknown, **attributes.index_with { unknown }, **relationships.index_with { unknown }, meta: unknown, links: unknown, }) end |