planvine 0.0.3 → 0.0.4

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: 3d3be0d502d066389276f2318de07a947c0ae2a7
4
- data.tar.gz: 67b7eb15ccac46c4e3bb72d280e1ec4e0efe15af
3
+ metadata.gz: 7cb71984105f169ce3cb002840f3717b010818b0
4
+ data.tar.gz: 4af76a673a07c2e15967bfcc59c8b2c1e67443ba
5
5
  SHA512:
6
- metadata.gz: e197a9e5be64adaf2506c248799ce271fb4599c56fb40b81d350f6c3a28328116724612229cddbe7988057ff6014c3fa6d66c16c3ec5cf101613ff8094903777
7
- data.tar.gz: 683c0067aacd8b16ac675e0667ff3179c4ef351f1a314ff115d767bb4b668eb48c6dfb3158a0c0893b85bb2053cf24724258c906c249f112c8e7595b4037dddc
6
+ metadata.gz: c6d344768be56cc44c7437e16ed754a96452f4babe05198739df5b617c404ddb6faee5d2ccd86fdeba9eeba08938cfa2132f45006738d07909f37cb412e9244b
7
+ data.tar.gz: 757685a5e587e33808062e7944bc9fe0b2e1019d8590e75b44ffda8893f791d5eedbb557e8602749df3ec4236423a875d7a3e298dc5727cbaec58069e6ffb263
@@ -1,32 +1,33 @@
1
1
  module Planvine
2
2
  class Venue
3
3
  attr_reader :params
4
+
4
5
  def initialize(params)
5
6
  @params = params
6
7
  end
7
8
 
8
9
  def uid
9
- @params.fetch(:uid, '')
10
+ @params.fetch("uid", '')
10
11
  end
11
12
 
12
13
  def name
13
- @params.fetch(:name, '')
14
+ @params.fetch("name", '')
14
15
  end
15
16
 
16
17
  def lat
17
- @params.fetch(:lat, '')
18
+ @params.fetch("lat", '')
18
19
  end
19
20
 
20
21
  def lng
21
- @params.fetch(:lng, '')
22
+ @params.fetch("lng", '')
22
23
  end
23
24
 
24
25
  def address
25
- @params.fetch(:address, '')
26
+ @params.fetch("address", '')
26
27
  end
27
28
 
28
29
  def short_address
29
- @params.fetch(:short_address, '')
30
+ @params.fetch("short_address", '')
30
31
  end
31
32
  end
32
33
  end
@@ -1,3 +1,3 @@
1
1
  module Planvine
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
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.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Patching