Class: Nuntius::ApplicationDrop

Inherits:
Liquid::Drop
  • Object
show all
Defined in:
app/drops/nuntius/application_drop.rb

Instance Method Summary collapse

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_gidObject



9
10
11
# File 'app/drops/nuntius/application_drop.rb', line 9

def to_gid
  @object.to_gid
end

#to_sgidObject



13
14
15
# File 'app/drops/nuntius/application_drop.rb', line 13

def to_sgid
  @object.to_sgid
end