Class: Platform::Developer::HelpController
- Inherits:
- 
      BaseController
      
        - Object
- ApplicationController
- BaseController
- BaseController
- Platform::Developer::HelpController
 
- Defined in:
- app/controllers/platform/developer/help_controller.rb
Overview
– Copyright © 2011 Michael Berkovich
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ++
Instance Method Summary collapse
- #api ⇒ Object
- #index ⇒ Object
- #oauth_app_login ⇒ Object
- #oauth_client_side ⇒ Object
- #oauth_desktop ⇒ Object
- #oauth_extensions ⇒ Object
- #oauth_intro ⇒ Object
- #oauth_mobile ⇒ Object
- #oauth_server_side ⇒ Object
- #oauth_trusted_client ⇒ Object
- #reference ⇒ Object
- #sdk_ios ⇒ Object
- #sdk_js ⇒ Object
Methods inherited from BaseController
#mobile_device?, #platform_current_developer, #platform_current_user, #platform_current_user_is_admin?, #platform_current_user_is_developer?, #platform_current_user_is_guest?
Instance Method Details
#api ⇒ Object
| 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | # File 'app/controllers/platform/developer/help_controller.rb', line 76 def api ref = Platform::Config.api_reference(@version) unless ref trfe("Unsupported API version") return redirect_to(:action => :index, :version => @version) end if params[:path].blank? trfe("API path must be provided") return redirect_to(:action => :index, :version => @version) end @api = Platform::Config.api_reference_by_path(@version, params[:path]) unless @api trfe("Unsupported API path") return redirect_to(:action => :index, :version => @version) end end | 
#index ⇒ Object
| 28 29 30 | # File 'app/controllers/platform/developer/help_controller.rb', line 28 def index end | 
#oauth_app_login ⇒ Object
| 52 53 54 | # File 'app/controllers/platform/developer/help_controller.rb', line 52 def oauth_app_login end | 
#oauth_client_side ⇒ Object
| 44 45 46 | # File 'app/controllers/platform/developer/help_controller.rb', line 44 def oauth_client_side end | 
#oauth_desktop ⇒ Object
| 56 57 58 | # File 'app/controllers/platform/developer/help_controller.rb', line 56 def oauth_desktop end | 
#oauth_extensions ⇒ Object
| 64 65 66 | # File 'app/controllers/platform/developer/help_controller.rb', line 64 def oauth_extensions end | 
#oauth_intro ⇒ Object
| 36 37 38 | # File 'app/controllers/platform/developer/help_controller.rb', line 36 def oauth_intro end | 
#oauth_mobile ⇒ Object
| 60 61 62 | # File 'app/controllers/platform/developer/help_controller.rb', line 60 def oauth_mobile end | 
#oauth_server_side ⇒ Object
| 40 41 42 | # File 'app/controllers/platform/developer/help_controller.rb', line 40 def oauth_server_side end | 
#oauth_trusted_client ⇒ Object
| 48 49 50 | # File 'app/controllers/platform/developer/help_controller.rb', line 48 def oauth_trusted_client end | 
#reference ⇒ Object
| 32 33 34 | # File 'app/controllers/platform/developer/help_controller.rb', line 32 def reference end | 
#sdk_ios ⇒ Object
| 72 73 74 | # File 'app/controllers/platform/developer/help_controller.rb', line 72 def sdk_ios end | 
#sdk_js ⇒ Object
| 68 69 70 | # File 'app/controllers/platform/developer/help_controller.rb', line 68 def sdk_js end |