Module: Jenkins::Model::Action::ClassMethods

Defined in:
lib/jenkins/model/action.rb

Instance Method Summary collapse

Instance Method Details

#icon(filename = nil) ⇒ Object



18
19
20
# File 'lib/jenkins/model/action.rb', line 18

def icon(filename = nil)
  filename.nil? ? @icon : @icon = filename.to_s
end

#url_path(path = nil) ⇒ Object



22
23
24
# File 'lib/jenkins/model/action.rb', line 22

def url_path(path = nil)
  path.nil? ? @url_path : @url_path = path.to_s
end