Sha256: c1c4d05910f715634f7d137505fd0140aff5f99cce94c3aa1fca8c6138f42ff7
Contents?: true
Size: 450 Bytes
Versions: 20
Compression:
Stored size: 450 Bytes
Contents
export const API = { get: jest.fn(), put: jest.fn(), post: jest.fn(), delete: jest.fn(), patch: jest.fn(), }; export const get = data => ({ type: 'get-some-type', ...data }); export const post = data => ({ type: 'post-some-type', ...data }); export const put = data => ({ type: 'put-some-type', ...data }); export const patch = data => ({ type: 'patch-some-type', ...data }); export const APIActions = { get, post, put, patch, };
Version data entries
20 entries across 20 versions & 1 rubygems