lib/vkontakte/api/base.rb in vkontakte-0.0.6 vs lib/vkontakte/api/base.rb in vkontakte-0.0.7
- old
+ new
@@ -8,10 +8,10 @@
def initialize(base)
@app = base
end
def default_params
- @default_params ||= {}
+ @default_params ||= { :v => '5.24' }
end
def call(method_name, params = {})
params = default_params.merge(params)
@app.call(method_name, params)['response']