Module: Rhoconnect::Condition::VerifySuccess

Included in:
Server
Defined in:
lib/rhoconnect/condition/verify_success.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



4
5
6
# File 'lib/rhoconnect/condition/verify_success.rb', line 4

def self.extended(base)
  base.include_verify_success_condition
end

Instance Method Details

#include_verify_success_conditionObject



8
9
10
11
12
13
14
15
16
# File 'lib/rhoconnect/condition/verify_success.rb', line 8

def include_verify_success_condition
  set(:verify_success) do |value|
  	condition do
  	  if value
  	  	success?
  	  end
  	end
  end
end