Class: Motion::Project::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/motion-pusher/motion-pusher.rb

Instance Method Summary collapse

Instance Method Details

#pusher {|@pusher| ... } ⇒ Object

Yields:



28
29
30
31
32
# File 'lib/motion-pusher/motion-pusher.rb', line 28

def pusher
  @pusher ||= PusherConfig.new(self)
  yield @pusher if block_given?
  @pusher
end