Class: DoAction

Inherits:
Action
  • Object
show all
Defined in:
app/models/actions/do_action.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Action

create_of_type, #default_starred_to_false, #editable?, for_organization, from_open_struct, #full_details, #quip, recent, #set_creator, #set_params, subtypes_by_type, #to_open_struct, #unstarred?

Methods included from OhNoes::Destroy

#destroy, #destroyable?

Class Method Details

.subtypesObject



14
15
16
# File 'app/models/actions/do_action.rb', line 14

def self.subtypes
  []
end

Instance Method Details

#action_typeObject



2
3
4
# File 'app/models/actions/do_action.rb', line 2

def action_type
  "Do"
end

#sentenceObject



10
11
12
# File 'app/models/actions/do_action.rb', line 10

def sentence
  " helped your organization"
end

#verbObject



6
7
8
# File 'app/models/actions/do_action.rb', line 6

def verb
  "helped"
end