rallio 0.4.2 → 0.4.3

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
  SHA1:
3
- metadata.gz: 1e09140384dd4ab0295ebfd128a49328538a8e37
4
- data.tar.gz: a01df9d158fd7a6985f63fb7bd8b3b1506f31edb
3
+ metadata.gz: a52fdea6f8d7d74e99bc1c1c0cf9304bbe93aa55
4
+ data.tar.gz: dccc50810f98dc4c42cd2c146ae3c2239ff2af91
5
5
  SHA512:
6
- metadata.gz: 295ca0a315f2adf7c0c88c8e5f16e4ba24bc01657d9ae53646735e80010baa6583f54823ecc205af7d109a777b338cc5b625ae0e6ca6013251f1cbc86f8a19b7
7
- data.tar.gz: c191d0f8bf882bf02f5d3fec612750d567d7cb486bd7f88603936b5453c2b141529e991c90a1bcff376d25508f9f7b7e21de533c859334dec46006ab1c7ce518
6
+ metadata.gz: 678dbebaac83cbc1bb1721d49fdfcb1b219e231660c11c1d36e498aba4bc58b9b1a2ea326fdd9333282a93cc14b70cac63673bd100cbcb4daa16cb905f0a9ff1
7
+ data.tar.gz: c7cbc8781cfd506b8492ed07b901d70e4f1c32823a4201c891058b0aaea9d5e6aa8b2b6aa58c3d6cbae0dc4296d79fa24553e0c996ddf77a86301f55bee0a551
@@ -2,12 +2,13 @@ module Rallio
2
2
  # Represents an access token object as it comes from Rallio.
3
3
  #
4
4
  # @!attribute [rw] access_token
5
- # Access token string
5
+ # @return [String] actual access token string
6
6
  # @!attribute [rw] user_id
7
+ # @return [Integer] unique id for user
7
8
  # @!attribute [rw] expires_at
8
9
  # @return [DateTime, nil] expiration DateTime or nil if access token never expires
9
10
  # @!attribute [rw] scopes
10
- # List of oauth scopes for the access token
11
+ # @return [String] list of oauth scopes for the access token
11
12
  class AccessToken < Base
12
13
  attribute :access_token, String
13
14
  attribute :user_id, Integer
@@ -2,12 +2,19 @@ module Rallio
2
2
  # Represents an account object as it comes from Rallio.
3
3
  #
4
4
  # @!attribute [rw] id
5
+ # @return [Integer] unique id for account
5
6
  # @!attribute [rw] name
7
+ # @return [String] account name
6
8
  # @!attribute [rw] short_name
9
+ # @return [String] account short name
7
10
  # @!attribute [rw] url
11
+ # @return [String] account url
8
12
  # @!attribute [rw] city
13
+ # @return [String] account city
9
14
  # @!attribute [rw] country_code
15
+ # @return [String] account country code
10
16
  # @!attribute [rw] time_zone
17
+ # @return [String] account time zone
11
18
  class Account < Base
12
19
  attribute :id, Integer
13
20
  attribute :name, String
@@ -2,10 +2,15 @@ module Rallio
2
2
  # Represents an account ownership object as it comes from Rallio.
3
3
  #
4
4
  # @!attribute [rw] user_id
5
+ # @return [Integer] unique id for user
5
6
  # @!attribute [rw] account_id
7
+ # @return [Integer] unique id for account
6
8
  # @!attribute [rw] account_name
9
+ # @return [String] account name
7
10
  # @!attribute [rw] account_franchisor_id
11
+ # @return [Integer] unique id for franchisor
8
12
  # @!attribute [rw] account_franchisor_name
13
+ # @return [String] franchisor name
9
14
  class AccountOwnership < OwnershipsBase
10
15
  attribute :user_id, Integer
11
16
  attribute :account_id, Integer
@@ -2,8 +2,11 @@ module Rallio
2
2
  # Represents a franchisor ownership as it comes from Rallio.
3
3
  #
4
4
  # @!attribute [rw] user_id
5
+ # @return [Integer] unique id for user
5
6
  # @!attribute [rw] franchisor_id
7
+ # @return [Integer] unique id for franchisor
6
8
  # @!attribute [rw] franchisor_name
9
+ # @return [String] franchisor name
7
10
  class FranchisorOwnership < OwnershipsBase
8
11
  attribute :user_id, Integer
9
12
  attribute :franchisor_id, Integer
@@ -2,22 +2,39 @@ module Rallio
2
2
  # Represents a review object as it comes from Rallio.
3
3
  #
4
4
  # @!attribute [rw] id
5
+ # @return [Integer] unique id for review
5
6
  # @!attribute [rw] account_id
7
+ # @return [Integer] unique id for account
6
8
  # @!attribute [rw] account_name
9
+ # @return [String] account name
7
10
  # @!attribute [rw] network
11
+ # @return [String] social network review was posted to
8
12
  # @!attribute [rw] posted_at
13
+ # @return [DateTime] DateTime review was made
9
14
  # @!attribute [rw] user_name
15
+ # @return [String] social network username of reviewer
10
16
  # @!attribute [rw] user_image
17
+ # @return [String] link to image of reviewer
11
18
  # @!attribute [rw] rating
19
+ # @return [Integer] overall review rating
12
20
  # @!attribute [rw] message
21
+ # @return [String] review text left by reviewer
13
22
  # @!attribute [rw] comments
23
+ # @return [Array<Hash>] for facebook this is an array of responses to review
14
24
  # @!attribute [rw] liked
25
+ # @return [true, false] true if review has been liked
15
26
  # @!attribute [rw] url
27
+ # @return [String] url to review
16
28
  # @!attribute [rw] can_reply
29
+ # @return [true, false] true if review can be replied to
17
30
  # @!attribute [rw] location_name
31
+ # @return [String] location review is for
18
32
  # @!attribute [rw] location_image_url
33
+ # @return [String] url for image of location
19
34
  # @!attribute [rw] review_reply
35
+ # @return [String] reply for non-facebook reviews
20
36
  # @!attribute [rw] review_reply_at
37
+ # @return [DateTime] DateTime of reply for non-facebook reviews
21
38
  class Review < Base
22
39
  attribute :id, Integer
23
40
  attribute :account_id, Integer
@@ -2,10 +2,11 @@ module Rallio
2
2
  # Represents a sign on token object as it comes from Rallio.
3
3
  #
4
4
  # @!attribute [rw] token
5
+ # @return [String] token for SSO url
5
6
  # @!attribute [rw] expires_at
6
- # DateTime token and url will become invalid.
7
+ # @return [DateTime] DateTime token and url will become invalid.
7
8
  # @!attribute [rw] url
8
- # Url to redirect user to for SSO with token embedded
9
+ # @return [String] url to redirect user to for SSO with token embedded
9
10
  class SignOnToken < Base
10
11
  attribute :token, String
11
12
  attribute :expires_at, DateTime
@@ -2,9 +2,13 @@ module Rallio
2
2
  # Represents a user object as it comes from Rallio.
3
3
  #
4
4
  # @!attribute [rw] id
5
+ # @return [Integer] unique id for user
5
6
  # @!attribute [rw] email
7
+ # @return [String] user email
6
8
  # @!attribute [rw] first_name
9
+ # @return [String] user first name
7
10
  # @!attribute [rw] last_name
11
+ # @return [String] user last name
8
12
  class User < Base
9
13
  attribute :id, Integer
10
14
  attribute :email, String
@@ -1,3 +1,3 @@
1
1
  module Rallio
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rallio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - JD Guzman