openstax_salesforce 4.11.0 → 4.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/openstax/salesforce/remote/lead.rb +10 -3
- data/lib/openstax/salesforce/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: 072e8f4a57fc8b2b62c5b07f992647f7e72f53e37c33e9f38afb32d6a12d8d29
|
4
|
+
data.tar.gz: aace96854377e96566c1b6efb33ee58a70d715d93d7cd23e29a851a158b69ff6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2febbbc5b3352452237c98c6d7785f9c2ba4517c371b2920e5d68b2c987196a2dad4556e114072663fbdfd8f8a3b4660d62f7301d5454cbccfe827f340b1ef41
|
7
|
+
data.tar.gz: '082a78fbe362ca9b37ba6ebefbb863bf560ef212d75bcb4ab6ffba254f15309816507d63d673eeafd480ec6ce1d7195e06ee5b5bd1253f56d60e8537864197ab'
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# OpenStax::Salesforce
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/openstax_salesforce.svg)](http://badge.fury.io/rb/openstax_salesforce)
|
4
|
-
[![
|
4
|
+
[![Tests](https://github.com/openstax/openstax_salesforce/workflows/Tests/badge.svg)](https://github.com/openstax/openstax_salesforce/actions?query=workflow:Tests)
|
5
5
|
[![Code Climate](https://codeclimate.com/github/openstax/openstax_salesforce/badges/gpa.svg)](https://codeclimate.com/github/openstax/openstax_salesforce)
|
6
6
|
|
7
7
|
OpenStax::Salesforce is a Rails engine used by OpenStax projects to communicate
|
@@ -16,6 +16,8 @@ module OpenStax::Salesforce::Remote
|
|
16
16
|
field :salutation, from: "Salutation"
|
17
17
|
field :subject, from: "Subject__c"
|
18
18
|
field :school, from: "Company"
|
19
|
+
field :city, from: "City"
|
20
|
+
field :state, from: "State"
|
19
21
|
field :phone, from: "Phone"
|
20
22
|
field :website, from: "Website"
|
21
23
|
field :status, from: "Status"
|
@@ -33,9 +35,14 @@ module OpenStax::Salesforce::Remote
|
|
33
35
|
field :who_chooses_books, from: "who_chooses_books__c"
|
34
36
|
field :verification_status, from: "FV_Status__c"
|
35
37
|
field :finalize_educator_signup, from: "FV_Final__c", as: :boolean
|
36
|
-
field :needs_cs_review,
|
37
|
-
field :b_r_i_marketing,
|
38
|
-
field :title_1_school,
|
38
|
+
field :needs_cs_review, from: "Needs_CS_Review__c", as: :boolean
|
39
|
+
field :b_r_i_marketing, from: "BRI_Marketing__c", as: :boolean # Bill of Rights Institute (book) marketing
|
40
|
+
field :title_1_school, from: "Title_1_school__c", as: :boolean
|
41
|
+
field :sheerid_school_name, from: "SheerID_School_Name__c"
|
42
|
+
|
43
|
+
# These 2 fields both hold the Account (School) ID, but have different data types and uses in SF
|
44
|
+
field :account_id, from: 'Account_ID__c'
|
45
|
+
field :school_id, from: 'School__c'
|
39
46
|
|
40
47
|
validates(:last_name, presence: true)
|
41
48
|
validates(:school, presence: true)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstax_salesforce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JP Slavinsky
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-03-
|
12
|
+
date: 2021-03-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|