0.0
No commit activity in last 3 years
No release in over 3 years
An ActiveResource like interface to catch.com
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.4.6
>= 1.1.0

Runtime

>= 0.6.1
 Project Readme

CatchNotes_api¶ ↑

Project is Closed¶ ↑

Catch.com has closed down as of the end of August 2013.  For this reason CatchNotes_api is now considered abandoned.

Usage¶ ↑

# requiring require ‘catch_notes’

# setting up your note class class Note < CatchNotes::Base username ‘foo@example.com’ password ‘foobar’ end # finding notes notes = Note.all # returns an array of Note objects first = Note.first # same as Note.all.first last = Note.last # same as Note.all.last first.text # the text content of the note # creating notes my_note = Note.new :text => “My New Note” my_note.save # will return true if all is good # updating a note my_note.text = “My Updated Note” my_note.save # deleting a note my_note.destroy # will return true if all is good # listing tags Note.tags # finding note by a tag my_notes = Note.find_all_by_tag ‘blah’ my_note = Note.find_by_tag ‘blah’

Todo List¶ ↑

Note on Patches/Pull Requests¶ ↑

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)

  • Send me a pull request. Bonus points for topic branches.

Copyright © 2010 Wade West. See LICENSE for details.