Project

cocupu

0.0
No commit activity in last 3 years
No release in over 3 years
Cocupu is a platform for collecting, curating and publishing your data. This client allows you to interface with that data.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

= 1.3.0

Runtime

 Project Readme

client

Start a connection:

Cocupu.start('email@example.com', 'password')

Attaching a file:

attached = Cocupu::Node.new('persistent_id'=>'4d629a30-0a85-0130-6ce0-3c075405d3d7','url'=>'/foo/bar/nodes/4d629a30-0a85-0130-6ce0-3c075405d3d7').attach_file('Test', File.open('spec/fixtures/images/rails.png'))
attached.save