Class: Pandexio::SigningOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/signing_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#algorithmObject

Returns the value of attribute algorithm.



17
18
19
# File 'lib/signing_options.rb', line 17

def algorithm
  @algorithm
end

#dateObject

Returns the value of attribute date.



21
22
23
# File 'lib/signing_options.rb', line 21

def date
  @date
end

#display_nameObject

Returns the value of attribute display_name.



25
26
27
# File 'lib/signing_options.rb', line 25

def display_name
  @display_name
end

#domain_idObject

Returns the value of attribute domain_id.



19
20
21
# File 'lib/signing_options.rb', line 19

def domain_id
  @domain_id
end

#domain_keyObject

Returns the value of attribute domain_key.



20
21
22
# File 'lib/signing_options.rb', line 20

def domain_key
  @domain_key
end

#email_addressObject

Returns the value of attribute email_address.



24
25
26
# File 'lib/signing_options.rb', line 24

def email_address
  @email_address
end

#expiresObject

Returns the value of attribute expires.



22
23
24
# File 'lib/signing_options.rb', line 22

def expires
  @expires
end

#mechanismObject

Returns the value of attribute mechanism.



18
19
20
# File 'lib/signing_options.rb', line 18

def mechanism
  @mechanism
end

#originatorObject

Returns the value of attribute originator.



23
24
25
# File 'lib/signing_options.rb', line 23

def originator
  @originator
end

#profile_imageObject

Returns the value of attribute profile_image.



26
27
28
# File 'lib/signing_options.rb', line 26

def profile_image
  @profile_image
end