Skip to content

Instantly share code, notes, and snippets.

@azuby
Created November 27, 2012 02:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save azuby/4152044 to your computer and use it in GitHub Desktop.
Save azuby/4152044 to your computer and use it in GitHub Desktop.
Job job = new Job(activity);
// Create
job.create();
// Read
ArrayList<NameValuePair> parameters;
Job.where(parameters)
// Update
job.update();
// Destroy
job.destroy();
public class Job extends Model {
private static final String ROUTE = "jobs";
public Job(Activity activity) {
super(ROUTE, activity);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment