Class: Ixtlan::Gettext::Flush

Inherits:
Object
  • Object
show all
Defined in:
lib/ixtlan/gettext/models.rb

Class Method Summary collapse

Class Method Details

.trigger(rest) ⇒ Object

used local flush service



80
81
82
83
84
85
86
# File 'lib/ixtlan/gettext/models.rb', line 80

def self.trigger(rest)
  begin
    rest.retrieve( self.class )
  rescue => e
    warn "error sending flush trigger for gettext #{e.message}"
  end
end