...
- ID: the id of the record in your model table (e.g.: invoices table)
- Class Name: the name of the class for your model (e.g.: Invoice)
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
module ConnectedObjectModule function id_maps IdMapModel.where(id: this.id, class_name: this.class.to_string) end function id_map_for(provider,realm) IdMapModel.where(id: this.id, class_name: this.class.to_string, provider: provider, realm: realm) end end |
...