RDC 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/RDC/restaurant.rb +3 -1
- data/lib/RDC/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b304c3994e05cc433c8af2a88279842a90e015b4d3fe5c46211f47cbcdf85960
|
4
|
+
data.tar.gz: 849dbf400f434d904bc1e9db349804b301b82272fa5e4169b28088f8c78372c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '04779a8892fa805fb7844a1a4073b6964f0b82a200ebf0b38b001a3243db11e6237175e262ee5ec0fc084ba21fb04932f0e27c2ac6fdfc20995f7566835c0889'
|
7
|
+
data.tar.gz: 8408ea6af6f11a3a646bbda0a0451b9cb1124db1bd179e97c93590c8358bb081d0c9cab548f196183aac9117c50cde1a69f094981c610ca60a94f76892c30b2e
|
data/lib/RDC/restaurant.rb
CHANGED
@@ -6,7 +6,7 @@ module RDC
|
|
6
6
|
class Restaurant
|
7
7
|
attr_accessor :name, :items, :short_description, :long_description,
|
8
8
|
:online, :address, :image, :id, :communication_media,
|
9
|
-
:recommended_rank, :rating
|
9
|
+
:recommended_rank, :rating, :cuisines, :additional_attributes
|
10
10
|
|
11
11
|
def initialize(hash_values)
|
12
12
|
@id = hash_values['LegacyRestaurantId']
|
@@ -16,6 +16,8 @@ module RDC
|
|
16
16
|
@online = hash_values['OnlineReservation']
|
17
17
|
@recommended_rank = hash_values['RecommendedRank']
|
18
18
|
@rating = hash_values['Rating']
|
19
|
+
@cuisines = hash_values['Cuisine']
|
20
|
+
@additional_attributes = hash_values['Attributes']
|
19
21
|
|
20
22
|
@address = hash_values['LocationAddress']
|
21
23
|
@communication_media = hash_values['CommunicationMedia']
|
data/lib/RDC/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: RDC
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- davidrichey
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-12-
|
12
|
+
date: 2020-12-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '0'
|
105
105
|
requirements: []
|
106
|
-
rubygems_version: 3.
|
106
|
+
rubygems_version: 3.1.2
|
107
107
|
signing_key:
|
108
108
|
specification_version: 4
|
109
109
|
summary: Ruby gem that wraps restaurants.com API
|