Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

Commit

Permalink
Support orderBy snake casing
Browse files Browse the repository at this point in the history
  • Loading branch information
seejohnrun committed Oct 4, 2011
1 parent 1b6b1b8 commit e608e89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/google_plus/activity.rb
Expand Up @@ -15,6 +15,7 @@ def self.get(activity_id, params = {})

def self.search(query, params = {})
params[:query] = URI.escape(query)
params[:orderBy] = params.delete(:order_by) if params.has_key?(:order_by)
resource = 'activities'
GooglePlus::Cursor.new(self, :get, resource, params)
end
Expand Down
2 changes: 1 addition & 1 deletion lib/google_plus/version.rb
@@ -1,5 +1,5 @@
module GooglePlus

VERSION = '0.1.0'
VERSION = '0.1.1'

end

0 comments on commit e608e89

Please sign in to comment.