Top Level Namespace
Defined Under Namespace
Modules: Iated Classes: SysPref
Instance Method Summary collapse
-
#requires_token ⇒ Object
Call this in a page to make sure that it returns a token.
-
#sinatra ⇒ Object
Iated Master Controller Package This is the coordination point for all the data stored, and the UI.
Instance Method Details
#requires_token ⇒ Object
Call this in a page to make sure that it returns a token.
14 15 16 17 18 |
# File 'lib/iated/page_helpers.rb', line 14 def requires_token unless Iated.mcp.is_token_valid? params[:token] halt 403 end end |
#sinatra ⇒ Object
Iated Master Controller Package This is the coordination point for all the data stored, and the UI.
5 |
# File 'lib/iated/mcp.rb', line 5 require 'sinatra' |