Class: GetAction

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

Direct Known Subclasses

RefundAction

Constant Summary

Constants inherited from Action

Action::GIVE_TYPES

Instance Method Summary collapse

Methods inherited from Action

create_of_type, from_open_struct, #full_details, #give_action_subtypes, #hear_action_subtypes, recent, #sentence, #set_creator, #set_params, #to_open_struct, #unstarred?

Methods included from OhNoes::Destroy

#destroy, #destroyable?

Instance Method Details

#action_typeObject



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

def action_type
  "Get"
end

#subtypeObject



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

def subtype
  "Purchase"
end

#verbObject



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

def verb
  "purchased"
end