planvine 0.0.6 → 0.0.7

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
  SHA1:
3
- metadata.gz: 2948741dc03c75b3bc32f5756ef604c2bc4dbe1a
4
- data.tar.gz: 0a02049fe4e168dc15722c04870a465caed298ed
3
+ metadata.gz: 0b11a440b8fe2cb4509db9d4242e1d8f40344ba4
4
+ data.tar.gz: 59d2d1433aa784a6453ad5d6cd5be621a4a9d69d
5
5
  SHA512:
6
- metadata.gz: eb1a319810a3bb4b16358d882a100a11b7b31d5d436e999d3fac4599f9b74bdcf0a28100ca4b78061089be3eba89e9a9101b10af8342490198b9dd917414ad72
7
- data.tar.gz: d0af9e1513a2e6562b0524f095b1f943db8caf8bd73fbf83d5fd38afb948c4228ee82f54560329fdc457b23800bec8288b5d567ee2e0446d5ff19d026d3bc88a
6
+ metadata.gz: 2c7d69bc98250afd4aea87bb07952764227ae2d31921d9fc1f5c611a2630d1369e3fb8f8958ced22dfa15a38ede7c346bd348ab135672b25e3cc6c7e4b8d8a82
7
+ data.tar.gz: 40621b692686083b7c34d3ce064e74b9f3c7e3f1334817456bec8b1bafa55c85e9406e254a6126ae648be0427dd11144937ba0d2f76f928c23e80d07ef91cf0b
@@ -24,5 +24,9 @@ module Planvine
24
24
  def category_events(id)
25
25
  self.class.get("/category/#{id}/events?api_key=#{@api_key}")["data"]
26
26
  end
27
+
28
+ def venue(id)
29
+ Venue.new(self.class.get("/venue/#{id}?api_key=#{@api_key}")["data"])
30
+ end
27
31
  end
28
32
  end
@@ -1,3 +1,3 @@
1
1
  module Planvine
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: planvine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Patching