Sha256: 3a6cfe3e85d42fe94f0f6bf7b05566c5e598a2808c22014162cc1affd6049c05

Contents?: true

Size: 479 Bytes

Versions: 1

Compression:

Stored size: 479 Bytes

Contents

module Foursquare
  class Photo < Node
    def add(params={}, file="")
      require 'rest_client'

      params = {:checkinId => "",
                :tipId => "",
                :venueId => "",
                :broadcast => "",
                :ll => "",
                :llAcc => "",
                :alt => "",
                :altAcc => "",
                :file => File.new(file)}

      RestClient.post('https://api.foursquare.com/v2/photos/add', params)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foursquare-api-0.0.2 lib/photo.rb