Class: Newslettre::APIModule
- Inherits:
-
Object
- Object
- Newslettre::APIModule
- Defined in:
- lib/newslettre/api_module.rb
Direct Known Subclasses
Identity, Letter, Letter::Recipients, Letter::Schedule, Lists, Lists::Email
Instance Attribute Summary collapse
-
#api ⇒ Object
readonly
Returns the value of attribute api.
Instance Method Summary collapse
-
#initialize(api) ⇒ APIModule
constructor
A new instance of APIModule.
Constructor Details
#initialize(api) ⇒ APIModule
Returns a new instance of APIModule.
4 5 6 |
# File 'lib/newslettre/api_module.rb', line 4 def initialize api @api = api end |
Instance Attribute Details
#api ⇒ Object (readonly)
Returns the value of attribute api.
2 3 4 |
# File 'lib/newslettre/api_module.rb', line 2 def api @api end |