lib/milk_cap/rtm/base.rb in milk_cap-0.5.1 vs lib/milk_cap/rtm/base.rb in milk_cap-0.5.2
- old
+ new
@@ -43,11 +43,11 @@
module MilkCap
module RTM
- VERSION = '0.5.1'
+ VERSION = '0.5.2'
AUTH_ENDPOINT = "http://www.rememberthemilk.com/services/auth/"
REST_ENDPOINT = "http://api.rememberthemilk.com/services/rest/"
# Signs the RTM request (sets the 'api_sig' parameter).
@@ -60,11 +60,9 @@
end
# Calls an API method (milk the cow).
#
def self.milk (params={}) #:nodoc:
-
- sleep 1
endpoint = params.delete(:endpoint)
endpoint = AUTH_ENDPOINT if endpoint == :auth
endpoint = endpoint || REST_ENDPOINT