Class: RPlatform::Rails::InCanvasStatusCheck
- Inherits:
-
StatusCheck
- Object
- StatusCheck
- RPlatform::Rails::InCanvasStatusCheck
- Defined in:
- lib/rplatform_rails/status_manager.rb
Instance Method Summary collapse
-
#initialize(controller) ⇒ InCanvasStatusCheck
constructor
A new instance of InCanvasStatusCheck.
- #invalid_message ⇒ Object
- #title ⇒ Object
- #valid_message ⇒ Object
Methods inherited from StatusCheck
Constructor Details
#initialize(controller) ⇒ InCanvasStatusCheck
Returns a new instance of InCanvasStatusCheck.
125 126 127 128 |
# File 'lib/rplatform_rails/status_manager.rb', line 125 def initialize(controller) @controller = controller @valid = true end |
Instance Method Details
#invalid_message ⇒ Object
138 139 140 |
# File 'lib/rplatform_rails/status_manager.rb', line 138 def "this should never be invalid" end |
#title ⇒ Object
130 131 132 |
# File 'lib/rplatform_rails/status_manager.rb', line 130 def title "in_facebook_canvas?" end |
#valid_message ⇒ Object
134 135 136 |
# File 'lib/rplatform_rails/status_manager.rb', line 134 def @controller.in_facebook_canvas? ? "yes" : "no" end |