Class: Notes::Options::Token

Inherits:
BaseOption show all
Defined in:
lib/notes/options/token.rb

Instance Method Summary collapse

Instance Method Details

#descriptionObject



8
9
10
# File 'lib/notes/options/token.rb', line 8

def description
  'Specified action is only applied to the note with the id given.'
end

#nameObject



4
5
6
# File 'lib/notes/options/token.rb', line 4

def name
  Notes::Options::TOKEN
end

#optionsObject



12
13
14
# File 'lib/notes/options/token.rb', line 12

def options
  { :type => String, :multi => false}
end