Closed runpaint closed 15 years ago
We could make the name position agnostic, like sample_commit
or even just commit
for exemplification only. Let me know what you think.
Yeah, I guess that's the best we can do. ;-/
It's done: just commit
for now ;)
examples/overall.rb
contains:first_commit
is actually the most recent, i.e. last commit. The API doesn't necessarily return the first commit at all due to pagination being unimplemented. I'm opening this ticket because I don't know what we should do here.We could change the example to refer to the last commit, but then this creates misleading syntax -
.first
refers to the last.We could reverse the array before receiving returning it to the caller, but this will surely prove expensive in the case of paginated responses.
The first option is the simplest, but I'm wondering whether there are any better ideas?