Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 34500380bc
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (14 sloc) 0.459 kB
# encoding: UTF-8
class VK::Standalone
include VK::Core
include Transformer
extend ::VK::Configurable
attr_accessor :settings, :expires_in
attr_configurable :settings, default: 'notify,friends'
def initialize(params={})
params.each{|k,v| instance_variable_set(:"@#{k}", v) }
raise 'undefined application id' unless self.app_id
transform base_api, self.method(:vk_call)
transform ext_api, self.method(:vk_call)
end
end
Jump to Line
Something went wrong with that request. Please try again.