Class: Marley::Joints::Messages

Inherits:
Joint show all
Defined in:
lib/marley/joints/messages.rb

Defined Under Namespace

Modules: Resources Classes: Message

Instance Attribute Summary

Attributes inherited from Joint

#opts

Instance Method Summary collapse

Methods inherited from Joint

#config, #initialize

Methods included from Utils::ClassAttrs

#class_attr, #lazy_class_attrs

Constructor Details

This class inherits a constructor from Marley::Joints::Joint

Instance Method Details

#smokeObject



4
5
6
7
8
9
10
11
12
# File 'lib/marley/joints/messages.rb', line 4

def smoke
  super
  if @opts[:tags]
    Marley.joint('tags')
    Marley.plugin(:tagging,{:tag_type => 'private'}).apply(Resources::PrivateMessage)
    Marley.plugin(:tagging,{:tag_type => 'private'}).apply(Resources::PublicMessage)
    Marley.plugin(:tagging,{:tag_type => 'public'}).apply(Resources::PublicMessage)
  end
end