Created
July 22, 2009 16:24
-
-
Save dkubb/152102 to your computer and use it in GitHub Desktop.
DataMapper public API
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
== Interfaces | |
=== Finder Interface | |
+ #[] | |
+ #all | |
+ #at | |
- #fetch | |
+ #first | |
+ #first_or_create | |
+ #first_or_new | |
+ #get | |
+ #get! | |
+ #last | |
+ #reverse | |
+ #slice | |
- #values_at | |
- Enumerable | |
- #to_a | |
- #all? | |
- #any? | |
- #empty? | |
- #include? | |
- #member? | |
- #each | |
- #each_index | |
- #each_with_index | |
- #reverse_each | |
=== Initialize Interface | |
- .new | |
- .create | |
- .create! | |
=== Update/Destroy Interface | |
- #destroy | |
- #destroy! | |
- #update | |
- #update! | |
=== Save Interface | |
- #save | |
- #save! | |
=== Introspection Interface | |
- #properties | |
- #relationships | |
=== Copy Interface | |
- #copy | |
=== Reload Interface | |
- #reload | |
--------------------------------------------------------------------- | |
== Concrete Classes | |
=== Model | |
- Finder Interface | |
- Initialize Interface | |
- Update/Destroy Interface | |
- Copy Interface | |
- Introspection Interface | |
=== Collection | |
- Finder Interface | |
- Initialize Interface | |
- Update/Destroy Interface | |
- Save Interface | |
- Copy Interface | |
- Reload Interface | |
- Introspection Interface | |
- Array | |
- #to_ary | |
- #[]= | |
- #<< | |
- #clear | |
- #collect! | |
- #concat | |
- #delete | |
- #delete_at | |
- #delete_if | |
- #insert | |
- #map! | |
- #pop | |
- #push | |
- #reject! | |
- #replace | |
- #reverse! | |
- #shift | |
- #slice! | |
- #sort! | |
- #unshift | |
- Set | |
- #union | |
- #intersection | |
- #difference | |
=== Resource | |
- Update/Destroy Interface | |
- Save Interface | |
- Copy Interface | |
- Reload Interface | |
- Introspection Interface |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment