openstax_salesforce 10.0.0 → 10.1.0
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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bb7aaad0209a4196fa26b6a6ad318d795049225584b6c281a4c0f83507737665
|
|
4
|
+
data.tar.gz: de1293e7813aff91a1a1d589499ad0a41578a9df9f55b07c6a19f4efea9fefcf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dab83f83330e8f1656904925f09b32345db6c0458e8b0f1426ec7b0a26d5beec35b2fcb463a758d891f5cefdfb0987e79d26eb6774215d1efc6ed9925b9a8fb7
|
|
7
|
+
data.tar.gz: 87c617fdb1dbf18aa4c033b3aa8abff8792267ad34ec5a1c902eabce5a26c76ed3c22a4176e8d6d291894b0b95e6f70021ddad6d106f2feb8c473f70abc530f6
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module OpenStax
|
|
4
|
+
module Salesforce
|
|
5
|
+
module Remote
|
|
6
|
+
# Student object from Salesforce. Pseudonymous: Name holds the
|
|
7
|
+
# Accounts user's uuid, never their name or email.
|
|
8
|
+
class Student < ActiveForce::SObject
|
|
9
|
+
field :id, from: 'Id'
|
|
10
|
+
field :name, from: 'Name'
|
|
11
|
+
field :school_id, from: 'School__c'
|
|
12
|
+
field :initial_book_id, from: 'Initial_Book__c'
|
|
13
|
+
field :last_osweb_login_date, from: 'Last_OSweb_Login_Date__c', as: :date
|
|
14
|
+
|
|
15
|
+
self.table_name = 'Student__c'
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
data/lib/openstax_salesforce.rb
CHANGED
|
@@ -18,6 +18,7 @@ require "openstax/salesforce/remote/campaign"
|
|
|
18
18
|
require "openstax/salesforce/remote/campaign_member"
|
|
19
19
|
require "openstax/salesforce/remote/account_contact_relation"
|
|
20
20
|
require "openstax/salesforce/remote/openstax_account"
|
|
21
|
+
require "openstax/salesforce/remote/student"
|
|
21
22
|
|
|
22
23
|
# openstax_utilities defines this too, but this gem doesn't depend on it
|
|
23
24
|
class IllegalState < StandardError; end unless defined?(IllegalState)
|
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: 10.
|
|
4
|
+
version: 10.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- JP Slavinsky
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2026-09-
|
|
13
|
+
date: 2026-09-15 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rails
|
|
@@ -164,6 +164,7 @@ files:
|
|
|
164
164
|
- lib/openstax/salesforce/remote/opportunity.rb
|
|
165
165
|
- lib/openstax/salesforce/remote/record_type.rb
|
|
166
166
|
- lib/openstax/salesforce/remote/school.rb
|
|
167
|
+
- lib/openstax/salesforce/remote/student.rb
|
|
167
168
|
- lib/openstax/salesforce/remote/term_year.rb
|
|
168
169
|
- lib/openstax/salesforce/remote/tutor_course_period.rb
|
|
169
170
|
- lib/openstax/salesforce/spec_helpers.rb
|