user_engage 0.0.7 → 0.0.8

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
  SHA256:
3
- metadata.gz: 5b7910a1cb3d819d0cbd2cb74977cfb9f23cead126b0051989e51862f434f733
4
- data.tar.gz: 54c6ee7b2c04cb3bd9236ee1abd7f980a5fb80191d0268ed2382100541474925
3
+ metadata.gz: 66d8ad78a363224162ad89c1fb97a6ef92596c41bcc2b3e217f32fa2eb084394
4
+ data.tar.gz: 48f234504a5b6ec623ca58311b71129b33cba499ab862d3ad50e84934cf90efa
5
5
  SHA512:
6
- metadata.gz: c06e6bb089219e9e9fd7a1a6e735a41cbb81850f0a05068967b6b93ddaf97e5dee46a0b46a187e18b0ba37f5ebca1a71571f33e5716b54a3812e1284cfbb392a
7
- data.tar.gz: 84c2752edf54a3bc3644f497f7ed1c6e9282c4c15c6cbd711eef7e4101a90fef54b3e7fa7819d22c4a89aec634a8610a93f4a8a8bb2c4c31b69b92d7cc7bfd48
6
+ metadata.gz: 48683a08022329f6958b98f3f8cf119a0b1421aff6868a99a9c71ab61f9e51f718d809ff9f7d7c9017984757b0d36c033df3724f48ece54c022935ebac1c6826
7
+ data.tar.gz: 606f8a9e741023d5c67b5070fe63a5ffdce2683f4a4217f72dbfdddbdd40e815685f6fbd720511bb9a3c0c468e519d5a69b5d0d60c370076ae5e2f71fc425f50
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- user_engage (0.0.7)
4
+ user_engage (0.0.8)
5
5
  dry-struct (~> 0.5)
6
6
  faraday (>= 0.12)
7
7
 
@@ -8,6 +8,7 @@ require 'user_engage/operation/destroy'
8
8
  require 'user_engage/operation/update_attributes'
9
9
 
10
10
  require 'user_engage/attribute'
11
+ require 'user_engage/tag'
11
12
 
12
13
  module UserEngage
13
14
  class Company < BaseModel
@@ -25,7 +26,7 @@ module UserEngage
25
26
  ################
26
27
  attribute :address, Types::String
27
28
  attribute :approx_employees, Types::Integer
28
- attribute :attributes, Types::Array.of(UserEngage::Attribute)
29
+ attribute :attributes, Types::Coercible::Array.of(UserEngage::Attribute)
29
30
  attribute :city, Types::String
30
31
  attribute :company_id, Types::Integer
31
32
  attribute :country, Types::String
@@ -36,9 +37,10 @@ module UserEngage
36
37
  attribute :id, Types::Integer
37
38
  attribute :member_since, Types::DateTime
38
39
  attribute :name, Types::String
39
- attribute :phone_numbers, Types::Array.of(Types::String)
40
+ attribute :phone_numbers, Types::Coercible::Array.of(Types::String)
40
41
  attribute :postal_code, Types::String
41
42
  attribute :region, Types::String
43
+ attribute :tags, Types::Coercible::Array.of(UserEngage::Tag)
42
44
  attribute :updated_at, Types::DateTime
43
45
 
44
46
  ###################
@@ -25,12 +25,12 @@ module UserEngage
25
25
  ################
26
26
  ## Attributes ##
27
27
  ################
28
- attribute :attributes, Types::Array.of(UserEngage::Attribute)
28
+ attribute :attributes, Types::Coercible::Array.of(UserEngage::Attribute)
29
29
  attribute :browser, Types::String
30
30
  attribute :browser_language, Types::String
31
31
  attribute :chat_id, Types::Integer
32
32
  attribute :city, Types::String
33
- attribute :companies, Types::Array.of(UserEngage::Company)
33
+ attribute :companies, Types::Coercible::Array.of(UserEngage::Company)
34
34
  attribute :country, Types::String
35
35
  attribute :created_at, Types::DateTime
36
36
  attribute :email, Types::String
@@ -45,7 +45,7 @@ module UserEngage
45
45
  attribute :last_ip, Types::String
46
46
  attribute :last_seen, Types::DateTime
47
47
  attribute :linkedin_url, Types::String
48
- attribute :lists, Types::Array.of(UserEngage::List)
48
+ attribute :lists, Types::Coercible::Array.of(UserEngage::List)
49
49
  attribute :name, Types::String
50
50
  attribute :notifications, Types::Bool
51
51
  attribute :os_type, Types::String
@@ -55,7 +55,7 @@ module UserEngage
55
55
  attribute :resolution, Types::String
56
56
  attribute :score, Types::Integer
57
57
  attribute :status, Types::String
58
- attribute :tags, Types::Array.of(UserEngage::Tag)
58
+ attribute :tags, Types::Coercible::Array.of(UserEngage::Tag)
59
59
  attribute :timezone, Types::String
60
60
  attribute :twitter_url, Types::String
61
61
  attribute :unsubscribed, Types::Bool
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UserEngage
4
- VERSION = '0.0.7'
4
+ VERSION = '0.0.8'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: user_engage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Schwed