Class: Ayadn::SetTVShow

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

#initializeSetTVShow

Returns a new instance of SetTVShow.



464
465
466
467
# File 'lib/ayadn/set.rb', line 464

def initialize
  super
  @category = 'tvshow'
end

Instance Method Details

#hashtag(tag) ⇒ Object



469
470
471
472
473
# File 'lib/ayadn/set.rb', line 469

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