Method: Moon::Action::Model::Index#perform

Defined in:
lib/moon/action/model/index.rb

#perform(context) ⇒ Object



9
10
11
12
# File 'lib/moon/action/model/index.rb', line 9

def perform(context)
  @context = context
  Moon::Response::JSON::Collection.new collection, formatters
end