Class: Ayadn::SetMovie

Inherits:
SetBase show all
Defined in:
lib/ayadn/set.rb

Instance Attribute Summary

Attributes inherited from SetBase

#category, #input, #output

Instance Method Summary collapse

Methods inherited from SetBase

#log, #save

Constructor Details

#initializeSetMovie

Returns a new instance of SetMovie.



310
311
312
313
# File 'lib/ayadn/set.rb', line 310

def initialize
  super
  @category = 'movie'
end

Instance Method Details

#hashtag(tag) ⇒ Object



315
316
317
318
319
# File 'lib/ayadn/set.rb', line 315

def hashtag(tag)
  @input = 'hashtag'
  @output = tag
  Settings.options[:movie][:hashtag] = @output
end