Skip to content
Browse files

Changed the Application.find method to accept options

  • Loading branch information...
1 parent bf5d134 commit 55ea1c9f2512a45c366ce901fff2ab3ad0751cdd @RSpace RSpace committed Mar 27, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/podio/models/application.rb
View
6 lib/podio/models/application.rb
@@ -36,8 +36,10 @@ def item_name
end
class << self
- def find(app_id)
- member Podio.connection.get("/app/#{app_id}").body
+ def find(app_id, options = {})
+ member Podio.connection.get { |req|
+ req.url("/app/#{app_id}", options)
+ }.body
end
def find_by_url_label(space_id, url_label)

0 comments on commit 55ea1c9

Please sign in to comment.
Something went wrong with that request. Please try again.