Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (27 sloc) 0.777 kb
require 'faraday'
require 'faraday_middleware'
directory = File.expand_path(File.dirname(__FILE__))
module Foursquare2
class << self
def filter tips, term
tip = []
unless tips.nil?
tips.items.each do |check_tip|
tip << check_tip if check_tip.text.downcase.include? term.downcase
end
end
Hashie::Mash.new({:count => tip.count, :items => tip })
end
end
require 'foursquare2/campaigns'
require 'foursquare2/users'
require 'foursquare2/specials'
require 'foursquare2/settings'
require 'foursquare2/photos'
require 'foursquare2/tips'
require 'foursquare2/checkins'
require 'foursquare2/venues'
require 'foursquare2/pages'
require 'foursquare2/client'
require 'foursquare2/api_error'
end
Jump to Line
Something went wrong with that request. Please try again.