Class: CardController

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

Overview

Decko’s only controller.

Defined Under Namespace

Modules: ApiKey, Errors, Mark, Response, Rest

Instance Attribute Summary collapse

Method Summary

Methods included from Errors::Rescue

rescue_all?, rescue_from_class

Methods included from Card::Env::Location

#card_path, #card_url, #cardname_from_url, #relative_url_root

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 'decko/lib/card_controller.rb', line 18

def card
  @card
end