Class: As2::Config::Partner
- Inherits:
-
Struct
- Object
- Struct
- As2::Config::Partner
- Defined in:
- lib/as2/config.rb
Instance Attribute Summary collapse
-
#encryption_certificate ⇒ Object
Returns the value of attribute encryption_certificate.
-
#mdn_format ⇒ Object
Returns the value of attribute mdn_format.
-
#name ⇒ Object
Returns the value of attribute name.
-
#outbound_format ⇒ Object
Returns the value of attribute outbound_format.
-
#signing_certificate ⇒ Object
Returns the value of attribute signing_certificate.
-
#tls_verify_mode ⇒ Object
Returns the value of attribute tls_verify_mode.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#encryption_certificate ⇒ Object
Returns the value of attribute encryption_certificate
15 16 17 |
# File 'lib/as2/config.rb', line 15 def encryption_certificate @encryption_certificate end |
#mdn_format ⇒ Object
Returns the value of attribute mdn_format
15 16 17 |
# File 'lib/as2/config.rb', line 15 def mdn_format @mdn_format end |
#name ⇒ Object
Returns the value of attribute name
15 16 17 |
# File 'lib/as2/config.rb', line 15 def name @name end |
#outbound_format ⇒ Object
Returns the value of attribute outbound_format
15 16 17 |
# File 'lib/as2/config.rb', line 15 def outbound_format @outbound_format end |
#signing_certificate ⇒ Object
Returns the value of attribute signing_certificate
15 16 17 |
# File 'lib/as2/config.rb', line 15 def signing_certificate @signing_certificate end |
#tls_verify_mode ⇒ Object
Returns the value of attribute tls_verify_mode
15 16 17 |
# File 'lib/as2/config.rb', line 15 def tls_verify_mode @tls_verify_mode end |
#url ⇒ Object
Returns the value of attribute url
15 16 17 |
# File 'lib/as2/config.rb', line 15 def url @url end |
Instance Method Details
#certificate=(certificate) ⇒ Object
42 43 44 45 46 |
# File 'lib/as2/config.rb', line 42 def certificate=(certificate) cert = As2::Config.build_certificate(certificate) self['encryption_certificate'] = cert self['signing_certificate'] = cert end |