Skip to content

Instantly share code, notes, and snippets.

View piotr-galas's full-sized avatar
😀

Piotr piotr-galas

😀
View GitHub Profile
class A{
saveArea(callback){
const {t} = this.props;
new Api('/nurses/area').post(this.prepareData())
.then(response => {
if(response.status === 200){
response.json().then(json => {
this.setState({
popupTitle: t('area.success.title'),
require "pry"
require "csv"
class GenerateCsvSummary
NUMBER_OF_ROWS = 10
GENERATED_FILE_PATH = "./csv_summary.csv"
def initialize(absolute_directory_path)
@absolute_directory_path = absolute_directory_path
end