vk_api_simple 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e73d114cd08600bd2db7f11bdf228049eb1eb72d1e3c24bba6398171dcef753
4
- data.tar.gz: df43876f3341bbb4c5af467ea530206a0700e4f84ec7ad1b284ed586374dd176
3
+ metadata.gz: d84ddd05a8e21a9d8a039be2a210be22f489101b6bcf648922717a713c8e1833
4
+ data.tar.gz: ef1f9173250f64a686fe1550fe39bde8c06b799c38e5d1f88bde506954d3777a
5
5
  SHA512:
6
- metadata.gz: 7ea18c18eb131b3c0bae43e1f8bab4939a9fab796da92f8fe94e047941d41a2608c057cbe3f8e9de89026082c8d2d89695791aa8e997219f1b3e2e7c603a90a0
7
- data.tar.gz: ff90b4601cbb2f8a660e68c1571b29bb59fd30c0993c6678392969889d04aba183c867f489f0adbad193ae6bc9517c4520a0658148ab556823c217c69895a934
6
+ metadata.gz: 755dfc81de1c399793d747811c8b83ba749eab4c1131674ab65f6db0768c8d17de35c3077f9fc16fd80dfbbcfeea9bfb86f7675a8eef55176039ebb82cac4b96
7
+ data.tar.gz: 572ce603e561aecf3ec4785f0162868c871e98f4e733f838e7aef50a41019695203a27cedf1fff488ec6482ddf7138feda77d48038b83469331015a198c62a56
@@ -3,7 +3,7 @@ module VkApiSimple
3
3
  # Save uploaded image at server
4
4
  module Add
5
5
  def add(args = {})
6
- response = RestClient.post("#{BASE_URI}save?access_token=#{token}&owner_id=-#{args[:owner_id]}&category_id=#{args[:category_id]}&price=#{args[:price]}&main_photo_id=#{args[:main_photo_id]}&v=#{api_version}", name: args[:name], description: args[:description])
6
+ response = RestClient.post("#{BASE_URI}add?access_token=#{token}&owner_id=-#{args[:owner_id]}&category_id=#{args[:category_id]}&price=#{args[:price]}&main_photo_id=#{args[:main_photo_id]}&v=#{api_version}", name: args[:name], description: args[:description])
7
7
  JSON.parse(response.body)
8
8
  end
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module VkApiSimple
2
- VERSION = '0.2.2'.freeze
2
+ VERSION = '0.2.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vk_api_simple
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - kortirso