Skip to content

Commit a926bc7

Browse files
authored
Merge pull request #81 from openstax/all-accounts-api-update
return all schools, update api version
2 parents 6e19229 + 97d8921 commit a926bc7

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

lib/openstax/salesforce/remote/school.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ class School < ActiveForce::SObject
1818
field :total_school_enrollment, from: 'Total_School_Enrollment__c', as: :integer
1919

2020
self.table_name = 'Account'
21-
22-
def self.query
23-
super.where("RecordType.Name = 'School' OR RecordType.Name = 'School District' OR RecordType.Name = 'General'")
24-
end
2521
end
2622
end
2723
end

lib/openstax/salesforce/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module OpenStax
22
module Salesforce
3-
VERSION = '7.8.2'
3+
VERSION = '8.0.0'
44
end
55
end

lib/openstax_salesforce.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Configuration
3535
attr_accessor :username, :password, :security_token, :consumer_key, :consumer_secret
3636

3737
def api_version
38-
@api_version ||= '51.0'
38+
@api_version ||= '61.0'
3939
end
4040

4141
def login_domain

0 commit comments

Comments
 (0)