RDC 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e936f5283b222795b69afa3c80d65edbaeb7e3bbc86fbdc097bf0aaae53b93ef
4
- data.tar.gz: 63ac56ea67da9cd07a1f237bb484c1a18502ef57fbd6746d9ae49beb3ab0bb00
3
+ metadata.gz: b304c3994e05cc433c8af2a88279842a90e015b4d3fe5c46211f47cbcdf85960
4
+ data.tar.gz: 849dbf400f434d904bc1e9db349804b301b82272fa5e4169b28088f8c78372c1
5
5
  SHA512:
6
- metadata.gz: e029ad903444d251fe4bd3e2587986ace99a27bf44b202fd665220eb8c3fb45d66fb2cc3391d530f898c2a3ec3b492314be9b4335993425b302d9ea09773c0f3
7
- data.tar.gz: 22ebe77b744fefdbf0bf16a729ac4cfc4c0e33ce75597f61ad84e3789d6741bcd8ec35c53453d56bd8d36f8ac2a468770dda3d9afb6df326c0d87407866a54a9
6
+ metadata.gz: '04779a8892fa805fb7844a1a4073b6964f0b82a200ebf0b38b001a3243db11e6237175e262ee5ec0fc084ba21fb04932f0e27c2ac6fdfc20995f7566835c0889'
7
+ data.tar.gz: 8408ea6af6f11a3a646bbda0a0451b9cb1124db1bd179e97c93590c8358bb081d0c9cab548f196183aac9117c50cde1a69f094981c610ca60a94f76892c30b2e
@@ -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']
@@ -1,3 +1,3 @@
1
1
  module RDC
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
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
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-16 00:00:00.000000000 Z
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.0.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