Skip to content

Instantly share code, notes, and snippets.

@richo
Created October 20, 2011 08:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richo/1300646 to your computer and use it in GitHub Desktop.
Save richo/1300646 to your computer and use it in GitHub Desktop.
module Twat::Endpoints
class Identica
def initialize
module Twitter
module Request
def request(method, path, params, options)
path.gsub!(%r|^/1|, '')
super(method, path, params, options)
end
end
end
end
def url
"https://identi.ca/api"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment