ebisu-rb 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ebisu/models/store.rb +6 -1
- data/lib/ebisu/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73be7cfe94ae2eb8803c1046493c047e1648120855da3ab8a11f283e83f203a1
|
4
|
+
data.tar.gz: cb72bee775809f72dd09f2419968cdcc280ad54ebdb4d7bdbef60c62fcdba1b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '097f719a02b3b7e7d1a2bf98c9d57c3b3ce17f92729ea8ab1dbe8ee3ee06edc7d1a7e5ceb1e3e8eca911cee6660041b741c4277f0335e9e8b7de5001e7447aea'
|
7
|
+
data.tar.gz: 279e173c317ee4792510893ff04500ed82c420c535a906e07e9f9b865b34fcc4cbcf1be5e0da1cd8b6750922c1008f81ce6a99c420bec9007e883e15fd6ae95c
|
data/lib/ebisu/models/store.rb
CHANGED
@@ -1,9 +1,13 @@
|
|
1
1
|
module Ebisu
|
2
2
|
class Store
|
3
|
+
# @!attribute id
|
4
|
+
# @return [String]
|
5
|
+
attr_reader :id
|
6
|
+
|
3
7
|
# @!attribute name
|
4
8
|
# @return [String]
|
5
9
|
attr_reader :name
|
6
|
-
|
10
|
+
|
7
11
|
# @!attribute payment
|
8
12
|
# @return [Ebisu::Payment]
|
9
13
|
attr_reader :payment
|
@@ -16,6 +20,7 @@ module Ebisu
|
|
16
20
|
# @return [Ebisu::StoreRatings]
|
17
21
|
attr_reader :ratings
|
18
22
|
def initialize(data)
|
23
|
+
@id = data.dig('Id')
|
19
24
|
@name = data.dig('Name')
|
20
25
|
@payment = Ebisu::Payment.new(data.dig('Payment'))
|
21
26
|
@is_best_store = data.dig('IsBestStore') == 'true'
|
data/lib/ebisu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ebisu-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- totem3
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|