Sha256: 03dcaaba13e17792e4549a3909aaaab35cdf752f2540805ca6f3b29674143c5b

Contents?: true

Size: 334 Bytes

Versions: 1

Compression:

Stored size: 334 Bytes

Contents

module VkApiSimple
  class Photos
    # Get photos from server
    module Get
      def get(args = {})
        response = RestClient.get("#{BASE_URI}get?access_token=#{token}&album_id=#{args[:album_id]}&owner_id=#{args[:group_id]}&count=#{args[:count]}&v=#{api_version}")
        JSON.parse(response.body)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk_api_simple-0.2.4 lib/vk_api_simple/photos/get.rb