Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dewey.authentication :client, :email => 'your-email', :password => 'your-pass'
- id = Dewey.put(File.new('example.txt'), 'My Second Upload')
- puts id # => in my case returned: document:1DDxIGsmK3wIJpdJC-qGK4y-R8onzDrBPm89y7BbO_Zg
- original = Dewey.get(id)
- puts original.inspect # => nil
Add Comment
Please, Sign In to add comment