lib/vkontakte_api/client.rb in vkontakte_api-1.1 vs lib/vkontakte_api/client.rb in vkontakte_api-1.2
- old
+ new
@@ -3,26 +3,26 @@
class Client
include Resolver
# Access rights and their respective number representation.
SCOPE = {
- :notify => 1,
- :friends => 2,
- :photos => 4,
- :audio => 8,
- :video => 16,
- :offers => 32,
- :questions => 64,
- :pages => 128,
- :status => 1024,
- :notes => 2048,
- :messages => 4096,
- :wall => 8192,
- :ads => 32768,
- :docs => 131072,
- :groups => 262144,
- :notifications => 524288,
- :stats => 1048576
+ notify: 1,
+ friends: 2,
+ photos: 4,
+ audio: 8,
+ video: 16,
+ offers: 32,
+ questions: 64,
+ pages: 128,
+ status: 1024,
+ notes: 2048,
+ messages: 4096,
+ wall: 8192,
+ ads: 32768,
+ docs: 131072,
+ groups: 262144,
+ notifications: 524288,
+ stats: 1048576
}
# An access token needed by authorized requests.
# @return [String]
attr_reader :token