Class: Pandexio::SigningOptions
- Inherits:
-
Object
- Object
- Pandexio::SigningOptions
- Defined in:
- lib/signing_options.rb
Instance Attribute Summary collapse
-
#algorithm ⇒ Object
Returns the value of attribute algorithm.
-
#date ⇒ Object
Returns the value of attribute date.
-
#display_name ⇒ Object
Returns the value of attribute display_name.
-
#domain_id ⇒ Object
Returns the value of attribute domain_id.
-
#domain_key ⇒ Object
Returns the value of attribute domain_key.
-
#email_address ⇒ Object
Returns the value of attribute email_address.
-
#expires ⇒ Object
Returns the value of attribute expires.
-
#mechanism ⇒ Object
Returns the value of attribute mechanism.
-
#originator ⇒ Object
Returns the value of attribute originator.
-
#profile_image ⇒ Object
Returns the value of attribute profile_image.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ SigningOptions
constructor
A new instance of SigningOptions.
Constructor Details
#initialize(params = {}) ⇒ SigningOptions
Returns a new instance of SigningOptions.
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/signing_options.rb', line 4 def initialize(params = {}) @algorithm = params.fetch(:algorithm, nil) @mechanism = params.fetch(:mechanism, nil) @domain_id = params.fetch(:domain_id, nil) @domain_key = params.fetch(:domain_key, nil) @date = params.fetch(:date, nil) @expires = params.fetch(:expires, nil) @originator = params.fetch(:originator, nil) @email_address = params.fetch(:email_address, nil) @display_name = params.fetch(:display_name, nil) @profile_image = params.fetch(:profile_image, nil) end |
Instance Attribute Details
#algorithm ⇒ Object
Returns the value of attribute algorithm.
17 18 19 |
# File 'lib/signing_options.rb', line 17 def algorithm @algorithm end |
#date ⇒ Object
Returns the value of attribute date.
21 22 23 |
# File 'lib/signing_options.rb', line 21 def date @date end |
#display_name ⇒ Object
Returns the value of attribute display_name.
25 26 27 |
# File 'lib/signing_options.rb', line 25 def display_name @display_name end |
#domain_id ⇒ Object
Returns the value of attribute domain_id.
19 20 21 |
# File 'lib/signing_options.rb', line 19 def domain_id @domain_id end |
#domain_key ⇒ Object
Returns the value of attribute domain_key.
20 21 22 |
# File 'lib/signing_options.rb', line 20 def domain_key @domain_key end |
#email_address ⇒ Object
Returns the value of attribute email_address.
24 25 26 |
# File 'lib/signing_options.rb', line 24 def email_address @email_address end |
#expires ⇒ Object
Returns the value of attribute expires.
22 23 24 |
# File 'lib/signing_options.rb', line 22 def expires @expires end |
#mechanism ⇒ Object
Returns the value of attribute mechanism.
18 19 20 |
# File 'lib/signing_options.rb', line 18 def mechanism @mechanism end |
#originator ⇒ Object
Returns the value of attribute originator.
23 24 25 |
# File 'lib/signing_options.rb', line 23 def originator @originator end |
#profile_image ⇒ Object
Returns the value of attribute profile_image.
26 27 28 |
# File 'lib/signing_options.rb', line 26 def profile_image @profile_image end |