Class: Bloomerang::EmailInterest

Inherits:
Base
  • Object
show all
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

Methods inherited from Base

delete, get, post, put

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



32
33
34
# File 'lib/bloomerang/email_interest.rb', line 32

def self.show(id)
  get("emailInterest/#{id}")
end