Skip to content

Instantly share code, notes, and snippets.

@Veejay
Created August 8, 2010 17:53
Show Gist options
  • Save Veejay/514328 to your computer and use it in GitHub Desktop.
Save Veejay/514328 to your computer and use it in GitHub Desktop.
def self.get(primary)
message = (primary ? "profile" : "other") + "_photos_cursor"
self.instance.send(message)
end
def self.put(primary, value)
message = (primary ? "profile" : "other") + "_photos_cursor="
self.instance.send(message, value)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment