Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```resp=Euresource::CatalogItem.get(
- :all,
- params: {
- study_environment_uuid: '4960d0a1-1339-438b-849b-4aa9f7c704ad',
- uuids: ['02c40832-1331-4323-830d-0c1f02ccee5d']
- },
- method: :index
- )
- resp=Euresource::CatalogItem.get(
- :all,
- params: {
- study_environment_uuid: '4960d0a1-1339-438b-849b-4aa9f7c704ad',
- uuids: '02c40832-1331-4323-830d-0c1f02ccee5d'
- },
- method: :index
- )
- //Invoke based . --> This works
- resp=Euresource::CatalogItem.invoke(:index, {study_environment_uuid: '98133ab4-bd6d-4557-9305-006c526de933', uuids: ['02c40832-1331-4323-830d-0c1f02ccee5d']})
- This might be used to build different query:- ---> I dont know if they will support
- Euresource::CatalogItem.get(:all, params: { study_environment_uuid: 'mmm', search_by: 'all', search_term: 'xxx'}, access_by: 'edit_study_environments', sort_order: 'desc', sort_by: 'phase_name' )
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement