Class: Courrier::Subscriber::Base
- Inherits:
-
Object
- Object
- Courrier::Subscriber::Base
show all
- Defined in:
- lib/courrier/subscriber/base.rb
Instance Method Summary
collapse
Constructor Details
#initialize(api_key:) ⇒ Base
Returns a new instance of Base.
8
9
10
|
# File 'lib/courrier/subscriber/base.rb', line 8
def initialize(api_key:)
@api_key = api_key
end
|
Instance Method Details
#create(email) ⇒ Object
12
13
14
|
# File 'lib/courrier/subscriber/base.rb', line 12
def create(email)
raise NotImplementedError
end
|
#destroy(email) ⇒ Object
16
17
18
|
# File 'lib/courrier/subscriber/base.rb', line 16
def destroy(email)
raise NotImplementedError
end
|