Class: Bloomerang::EmailInterest
- Defined in:
- lib/bloomerang/email_interest.rb
Overview
Bloomerang:EmailInterest bloomerang.co/product/integrations-data-management/api/rest-api/#/Email%20Interests Id integer($int64) IsSurveyEmailInterest boolean, Is this an email interest for Bloomerang donor surveys? SortIndex integer($int32) Name string IsDefault boolean IsActive boolean
Class Method Summary collapse
-
.fetch(params = {}) ⇒ Object
Fetch all email interests bloomerang.co/product/integrations-data-management/api/rest-api/#/Email%20Interests/get_emailInterests.
-
.show(id) ⇒ Object
Fetch an email interest by ID bloomerang.co/product/integrations-data-management/api/rest-api/#/Email%20Interests/get_emailInterest_id.
Methods inherited from Base
Class Method Details
.fetch(params = {}) ⇒ Object
Fetch all email interests bloomerang.co/product/integrations-data-management/api/rest-api/#/Email%20Interests/get_emailInterests
Params: skip integer, default: 0, simple paging system take integer, default: 50, simple paging system id array, separated by pipes: “1|2|3” isActive boolean
23 24 25 |
# File 'lib/bloomerang/email_interest.rb', line 23 def self.fetch(params = {}) get("emailInterests", params) end |
.show(id) ⇒ Object
Fetch an email interest by ID bloomerang.co/product/integrations-data-management/api/rest-api/#/Email%20Interests/get_emailInterest_id
Params: id integer
32 33 34 |
# File 'lib/bloomerang/email_interest.rb', line 32 def self.show(id) get("emailInterest/#{id}") end |