Class: RPlatform::Rails::FinishFacebookLoginStatusCheck
- Inherits:
-
StatusCheck
- Object
- StatusCheck
- RPlatform::Rails::FinishFacebookLoginStatusCheck
- Defined in:
- lib/rplatform_rails/status_manager.rb
Instance Method Summary collapse
-
#initialize(controller) ⇒ FinishFacebookLoginStatusCheck
constructor
A new instance of FinishFacebookLoginStatusCheck.
- #invalid_message ⇒ Object
- #title ⇒ Object
- #valid_message ⇒ Object
Methods inherited from StatusCheck
Constructor Details
#initialize(controller) ⇒ FinishFacebookLoginStatusCheck
Returns a new instance of FinishFacebookLoginStatusCheck.
286 287 288 289 290 291 292 293 294 |
# File 'lib/rplatform_rails/status_manager.rb', line 286 def initialize(controller) @controller = controller @valid = false begin @controller.finish_facebook_login @valid = true rescue end end |
Instance Method Details
#invalid_message ⇒ Object
304 305 306 |
# File 'lib/rplatform_rails/status_manager.rb', line 304 def "you need to define <strong>finish_facebook_login</strong> in your controller (this is only for external web apps)" end |
#title ⇒ Object
296 297 298 |
# File 'lib/rplatform_rails/status_manager.rb', line 296 def title "finish_facebook_login" end |
#valid_message ⇒ Object
300 301 302 |
# File 'lib/rplatform_rails/status_manager.rb', line 300 def "finisher method is defined (this is only for external web apps)" end |