Module: FakeSSL
- Defined in:
- lib/fakessl/fakessl.rb
Defined Under Namespace
Class Attribute Summary collapse
-
.cert ⇒ Object
Returns the value of attribute cert.
-
.domain ⇒ Object
Returns the value of attribute domain.
-
.key ⇒ Object
Returns the value of attribute key.
Class Method Summary collapse
Class Attribute Details
.cert ⇒ Object
Returns the value of attribute cert.
6 7 8 |
# File 'lib/fakessl/fakessl.rb', line 6 def cert @cert end |
.domain ⇒ Object
Returns the value of attribute domain.
6 7 8 |
# File 'lib/fakessl/fakessl.rb', line 6 def domain @domain end |
.key ⇒ Object
Returns the value of attribute key.
6 7 8 |
# File 'lib/fakessl/fakessl.rb', line 6 def key @key end |
Class Method Details
.cert_path(fcert, fkey) ⇒ Object
12 13 14 15 16 |
# File 'lib/fakessl/fakessl.rb', line 12 def FakeSSL.cert_path(fcert, fkey) FakeSSL.cert = fcert FakeSSL.key = fkey FakeSSL.domain = fcert.chomp(".cert") end |