Module: PushType::Templatable

Extended by:
ActiveSupport::Concern
Included in:
Node
Defined in:
app/models/concerns/push_type/templatable.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#templateObject



5
6
7
# File 'app/models/concerns/push_type/templatable.rb', line 5

def template
  self.class.template_path
end

#template_argsObject



9
10
11
# File 'app/models/concerns/push_type/templatable.rb', line 9

def template_args
  [template, self.class.template_opts.except!(:path)]
end