Class: Nuntius::ApplicationDrop
- Inherits:
-
Liquid::Drop
- Object
- Liquid::Drop
- Nuntius::ApplicationDrop
- Defined in:
- app/drops/nuntius/application_drop.rb
Direct Known Subclasses
CampaignDrop, LayoutDrop, ListDrop, MessageDrop, SubscriberDrop, TemplateDrop
Instance Method Summary collapse
-
#initialize(object) ⇒ ApplicationDrop
constructor
A new instance of ApplicationDrop.
- #to_gid ⇒ Object
- #to_sgid ⇒ Object
Constructor Details
#initialize(object) ⇒ ApplicationDrop
Returns a new instance of ApplicationDrop.
5 6 7 |
# File 'app/drops/nuntius/application_drop.rb', line 5 def initialize(object) @object = object end |
Instance Method Details
#to_gid ⇒ Object
9 10 11 |
# File 'app/drops/nuntius/application_drop.rb', line 9 def to_gid @object.to_gid end |
#to_sgid ⇒ Object
13 14 15 |
# File 'app/drops/nuntius/application_drop.rb', line 13 def to_sgid @object.to_sgid end |