Class: RPlatform::Rails::InFrameStatusCheck
- Inherits:
-
StatusCheck
- Object
- StatusCheck
- RPlatform::Rails::InFrameStatusCheck
- Defined in:
- lib/rplatform_rails/status_manager.rb
Instance Method Summary collapse
-
#initialize(controller) ⇒ InFrameStatusCheck
constructor
A new instance of InFrameStatusCheck.
- #invalid_message ⇒ Object
- #title ⇒ Object
- #valid_message ⇒ Object
Methods inherited from StatusCheck
Constructor Details
#initialize(controller) ⇒ InFrameStatusCheck
Returns a new instance of InFrameStatusCheck.
145 146 147 148 |
# File 'lib/rplatform_rails/status_manager.rb', line 145 def initialize(controller) @controller = controller @valid = true end |
Instance Method Details
#invalid_message ⇒ Object
158 159 160 |
# File 'lib/rplatform_rails/status_manager.rb', line 158 def "this should never be invalid" end |
#title ⇒ Object
150 151 152 |
# File 'lib/rplatform_rails/status_manager.rb', line 150 def title "in_facebook_frame?" end |
#valid_message ⇒ Object
154 155 156 |
# File 'lib/rplatform_rails/status_manager.rb', line 154 def @controller.in_facebook_frame? ? "yes" : "no" end |