Module: PhoneConnect
- Defined in:
- lib/phone_connect.rb,
lib/phone_connect/version.rb,
lib/phone_connect/configuration.rb,
lib/phone_connect/real_phone_validation.rb
Defined Under Namespace
Classes: Configuration, RealPhoneValidation
Constant Summary
collapse
- VERSION =
"1.0.1"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
7
8
9
|
# File 'lib/phone_connect.rb', line 7
def configuration
@configuration
end
|
Class Method Details
9
10
11
12
|
# File 'lib/phone_connect.rb', line 9
def configure
self.configuration ||= Configuration.new
yield(configuration)
end
|
.fetch(phone_number) ⇒ Object
.reset ⇒ Object
14
15
16
|
# File 'lib/phone_connect.rb', line 14
def reset
@configuration = Configuration.new
end
|