Class: CardController

Inherits:
ActionController::Base
  • Object
show all
Extended by:
Errors::Rescue
Includes:
Card::Env::Location, Errors, Mark, Response, Rest
Defined in:
lib/card_controller.rb,
lib/card_controller/mark.rb,
lib/card_controller/rest.rb,
lib/card_controller/errors.rb,
lib/card_controller/response.rb

Overview

Decko’s only controller.

Defined Under Namespace

Modules: Errors, Mark, Response, Rest

Instance Attribute Summary collapse

Method Summary

Methods included from Errors::Rescue

rescue_all?, rescue_from_class

Methods included from Errors

#debug_exception?, #handle_exception

Methods included from Response

#response_format

Methods included from Rest

#asset, #create, #delete, #read, #update

Instance Attribute Details

#cardObject (readonly)

Returns the value of attribute card.



18
19
20
# File 'lib/card_controller.rb', line 18

def card
  @card
end