Module: Vk::DSL::Wall
- Included in:
- Vk::DSL
- Defined in:
- lib/vk/dsl/wall.rb
Instance Method Summary collapse
-
#get_wall(user_id, options = {}) ⇒ Array<Fixnum, *Hash>
Statuses from user’s wall.
- #get_wall_statuses(posts) ⇒ Object
Instance Method Details
#get_wall(user_id, options = {}) ⇒ Array<Fixnum, *Hash>
Statuses from user’s wall
13 14 15 16 17 |
# File 'lib/vk/dsl/wall.rb', line 13 def get_wall(user_id, = {}) [:filter] ||= :all [:owner_id] = user_id Vk::Result.new('groups.get', Vk::Post, ) end |
#get_wall_statuses(posts) ⇒ Object
19 20 21 |
# File 'lib/vk/dsl/wall.rb', line 19 def get_wall_statuses(posts) request('wall.getById', posts: posts) end |