This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { | |
| REGISTER_USER, | |
| REGISTER_SUCCESS, | |
| REGISTER_ERROR, | |
| } from '../../../constants/users'; | |
| import addUser from '../../../store/reducers/users'; | |
| import initialState, { | |
| initialStateEdit, | |
| } from '../../../__mocks__/initialState'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { runSaga } from 'redux-saga'; | |
| import { put, takeLatest } from 'redux-saga/effects'; | |
| import { api } from '../../../utils/api'; | |
| import { | |
| registerUser, | |
| editUser, | |
| watchUserEdit, | |
| watchRegistration, | |
| } from '../../../store/sagas/users/AddUsersSaga'; | |
| import { REGISTERING_USER, EDITING_USER } from '../../../constants/users'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { JengaApiSdk } = require("jenga-apis-sdk"); | |
| const config = { | |
| apiKey: "your api key", | |
| merchantCode: "your merchant code", | |
| consumerSecret: "your consumer secret", | |
| privateKeyPath: `absoulte path to your private key`, | |
| verbose: true, //Optional defaults to false | |
| enableLogging: true, //Optional defaults to false | |
| env: "UAT or PROD", //Optional defaults to UAT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| cd /tmp || exit | |
| read -r -p "[s]table or [b]eta? [sS/bB] " choice | |
| choice=${choice,,} # tolower | |
| if [[ ! "$choice" =~ ^(s|b)$ ]]; then | |
| exit | |
| fi | |
| if [[ "$choice" = "s" ]]; then | |
| url=https://dl.pstmn.io/download/latest/linux64 | |
| name=Postman |
OlderNewer