Sha256: 43d7ff67e0db3da9b21d497dd851b0ec40df7049d8243744b81618d84ad7f32a

Contents?: true

Size: 568 Bytes

Versions: 1

Compression:

Stored size: 568 Bytes

Contents

require 'rest-client'
require 'json'
require_relative 'market/add'
require_relative 'market/delete'
require_relative 'market/edit'

module VkApiSimple
  # Market requests
  class Market
    include VkApiSimple::Market::Add
    include VkApiSimple::Market::Delete
    include VkApiSimple::Market::Edit

    BASE_URI = 'https://api.vk.com/method/market.'.freeze
    VK_API_VERSION = '5.74'.freeze

    attr_reader :token, :api_version

    def initialize(args = {})
      @token = args[:token]
      @api_version = args[:api_version] || VK_API_VERSION
    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/market.rb