rallio 0.7.0 → 0.7.1

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: 73e73e98897800b24612c03224de487409117733
4
- data.tar.gz: 415147e591c030ebeb4423d599c47f8dc0a153cb
3
+ metadata.gz: 7ce41149acba507b8202b1eb1e1325a516a17622
4
+ data.tar.gz: f6d951ae5c9024ce8c25f06b71e89918cec31315
5
5
  SHA512:
6
- metadata.gz: ed7cbd28ca3e1ea961ac505676583c5295f5326ddeed7bc255556c379d3b12691d102a064665c4ce5d6ff5c2a82ac96f1b91f40a015b4163d219e1f9674907f8
7
- data.tar.gz: 13c827ce2313452e55d27f6bc9f653b204f18c719cbdf64228642886ed3c92d9670bf57ce4670bcf19a4e44fc24b9b8cca7287e1ec88a27a072fe14e1901dbe8
6
+ metadata.gz: cce2424d17eaeb1656a700484591de19151c7209d8927148f4d859ceb0a41bd964a41fd4e26315edd3149df82f461d53d2add1ac069c42ecd0482c20752d900a
7
+ data.tar.gz: dadcdcd2d6882d93a8c7780e07e8f177d55b552410230a812730319fe75771dc79da7e5152d6ed62412e3cf00961fd397ee8e94e6b466a9772c160edf5b9a480
@@ -20,11 +20,23 @@ module Rallio
20
20
  # @!attribute [rw] franchisor_name
21
21
  # @return [String] franchisor_name account belongs to
22
22
  # @!attribute [rw] facebook_connected
23
- # @return [String] facebook has been associated
23
+ # @return [Boolean] facebook has been associated
24
+ # @!attribute [rw] facebook_needs_reconnection
25
+ # @return [Boolean] facebook has lost its connection
26
+ # @!attribute [rw] facebook_reputation
27
+ # @return [Float] average review rating for facebook
24
28
  # @!attribute [rw] yelp_connected
25
29
  # @return [String] yelp has been associated
30
+ # @!attribute [rw] yelp_needs_reconnection
31
+ # @return [Boolean] yelp has lost its connection
32
+ # @!attribute [rw] yelp_reputation
33
+ # @return [Float] average review rating for yelp
26
34
  # @!attribute [rw] google_connected
27
35
  # @return [String] google has been associated
36
+ # @!attribute [rw] google_needs_reconnection
37
+ # @return [Boolean] google has lost its connection
38
+ # @!attribute [rw] google_reputation
39
+ # @return [Float] average review rating for google
28
40
  class Account < Base
29
41
  attribute :id, Integer
30
42
  attribute :name, String
@@ -36,8 +48,14 @@ module Rallio
36
48
  attribute :franchisor_id, Integer
37
49
  attribute :franchisor_name, String
38
50
  attribute :facebook_connected, Axiom::Types::Boolean
51
+ attribute :facebook_needs_reconnection, Axiom::Types::Boolean
52
+ attribute :facebook_reputation, Float
39
53
  attribute :yelp_connected, Axiom::Types::Boolean
54
+ attribute :yelp_needs_reconnection, Axiom::Types::Boolean
55
+ attribute :yelp_reputation, Float
40
56
  attribute :google_connected, Axiom::Types::Boolean
57
+ attribute :google_needs_reconnection, Axiom::Types::Boolean
58
+ attribute :google_reputation, Float
41
59
 
42
60
  # Retreives accounts.
43
61
  #
@@ -3,8 +3,6 @@ module Rallio
3
3
  include HTTParty
4
4
  include Virtus.model
5
5
 
6
- attribute :error, String
7
-
8
6
  base_uri 'https://app.rallio.com/api/v1'
9
7
 
10
8
  # The credentials that can be used in the headers of any request requiring
@@ -1,3 +1,3 @@
1
1
  module Rallio
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rallio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - JD Guzman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-16 00:00:00.000000000 Z
11
+ date: 2017-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: virtus