fountain 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -2
- data/lib/fountain/applicant.rb +50 -0
- data/lib/fountain/gem_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: 3868db66d0394dff234e43bd0846028a6ce3e42ccb3b13e66079993abc0445ea
|
4
|
+
data.tar.gz: 3418f45e396fe4759bef2100c23116dea473528a5a218ba1e1c2d426720ba05d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abfae0d0e4a8cf1e9d72284c0c2ae23470bc0b4a1aa42984ccc2aa5537258b3f0b2785d6fa54ffc2d71992d71d43ecb7d2e31fcbf048839c750f686cfbf69ea4
|
7
|
+
data.tar.gz: 68c8b87074ddbba9f7a52cdbb69151f3772790b1adf5411791fd9286736585725ff98c002eb0f793f77edc6c59e2503ab5a3d0ad41a0874b6eb08fd23347fea3
|
data/CHANGELOG.md
CHANGED
@@ -3,9 +3,13 @@
|
|
3
3
|
## Unreleased
|
4
4
|
- None
|
5
5
|
|
6
|
+
## [0.0.15](releases/tag/v0.0.15) - 2022-06-15
|
7
|
+
### Added
|
8
|
+
- [#6] Additional accessor methods to the Applicant class ([@noahkconley][])
|
9
|
+
|
6
10
|
## [0.0.14](releases/tag/v0.0.14) - 2022-06-12
|
7
|
-
###
|
8
|
-
- [#5]
|
11
|
+
### Added
|
12
|
+
- [#5] Get funnel and get stage to API ([@noahkconley][])
|
9
13
|
|
10
14
|
## [0.0.13](releases/tag/v0.0.13) - 2021-09-24
|
11
15
|
### Fixed
|
data/lib/fountain/applicant.rb
CHANGED
@@ -25,6 +25,16 @@ module Fountain
|
|
25
25
|
Time.parse raw_data['created_at']
|
26
26
|
end
|
27
27
|
|
28
|
+
# Updated at
|
29
|
+
def updated_at
|
30
|
+
Time.parse raw_data['updated_at']
|
31
|
+
end
|
32
|
+
|
33
|
+
# Last transitioned at
|
34
|
+
def last_transitioned_at
|
35
|
+
Time.parse raw_data['last_transitioned_at']
|
36
|
+
end
|
37
|
+
|
28
38
|
# Email
|
29
39
|
def email
|
30
40
|
raw_data['email']
|
@@ -40,11 +50,51 @@ module Fountain
|
|
40
50
|
raw_data['phone_number']
|
41
51
|
end
|
42
52
|
|
53
|
+
# Normalized phone number
|
54
|
+
def normalized_phone_number
|
55
|
+
raw_data['normalized_phone_number']
|
56
|
+
end
|
57
|
+
|
58
|
+
# Is duplicate
|
59
|
+
def duplicate?
|
60
|
+
raw_data['is_duplicate']
|
61
|
+
end
|
62
|
+
|
63
|
+
# Receive automated emails
|
64
|
+
def receive_automated_emails?
|
65
|
+
raw_data['receive_automated_emails']
|
66
|
+
end
|
67
|
+
|
68
|
+
# Can receive sms
|
69
|
+
def can_receive_sms?
|
70
|
+
raw_data['can_receive_sms']
|
71
|
+
end
|
72
|
+
|
73
|
+
# Phone platform
|
74
|
+
def phone_platform
|
75
|
+
raw_data['phone_platform']
|
76
|
+
end
|
77
|
+
|
78
|
+
# Rejection reason
|
79
|
+
def rejection_reason
|
80
|
+
raw_data['rejection_reason']
|
81
|
+
end
|
82
|
+
|
83
|
+
# On hold reason
|
84
|
+
def on_hold_reason
|
85
|
+
raw_data['on_hold_reason']
|
86
|
+
end
|
87
|
+
|
43
88
|
# data
|
44
89
|
def data
|
45
90
|
raw_data['data']
|
46
91
|
end
|
47
92
|
|
93
|
+
# Addresses
|
94
|
+
def addresses
|
95
|
+
raw_data['addresses']
|
96
|
+
end
|
97
|
+
|
48
98
|
# Funnel
|
49
99
|
def funnel
|
50
100
|
Funnel.new raw_data['funnel']
|
data/lib/fountain/gem_version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fountain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- abrom
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|