Class: RPlatform::Rails::FinishFacebookLoginStatusCheck

Inherits:
StatusCheck
  • Object
show all
Defined in:
lib/rplatform_rails/status_manager.rb

Instance Method Summary collapse

Methods inherited from StatusCheck

#message, #valid?

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.
    @valid = true
  rescue
  end
end

Instance Method Details

#invalid_messageObject



304
305
306
# File 'lib/rplatform_rails/status_manager.rb', line 304

def invalid_message
  "you need to define <strong>finish_facebook_login</strong> in your controller (this is only for external web apps)"
end

#titleObject



296
297
298
# File 'lib/rplatform_rails/status_manager.rb', line 296

def title
  "finish_facebook_login"
end

#valid_messageObject



300
301
302
# File 'lib/rplatform_rails/status_manager.rb', line 300

def valid_message
  "finisher method is defined (this is only for external web apps)"
end