Sha256: e0bc6592ea6070ec98f72de7af478211a64e3cdf61a90d4176896887896c7764

Contents?: true

Size: 292 Bytes

Versions: 12

Compression:

Stored size: 292 Bytes

Contents

module Foursquare2
  module Photos

    # Retrive a photo
    #
    # @params [String] photo_id - The ID of the photo

    def photo(photo_id)
      response = connection.get("photos/#{photo_id}")
      return_error_or_body(response, response.body.response.photo)
    end    
    
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
foursquare2-1.2.0 lib/foursquare2/photos.rb
foursquare2-1.1.2 lib/foursquare2/photos.rb
foursquare2-1.1.1 lib/foursquare2/photos.rb
foursquare2-1.1.0 lib/foursquare2/photos.rb
foursquare2-1.0.0 lib/foursquare2/photos.rb
foursquare2-0.9.9 lib/foursquare2/photos.rb
foursquare2-0.9.8 lib/foursquare2/photos.rb
foursquare2-0.9.6 lib/foursquare2/photos.rb
foursquare2-0.9.5 lib/foursquare2/photos.rb
foursquare2-0.9.1 lib/foursquare2/photos.rb
foursquare2-0.9.0 lib/foursquare2/photos.rb
foursquare2-0.8.0 lib/foursquare2/photos.rb