Class: Postmen::Custom::AES

Inherits:
Object
  • Object
show all
Includes:
Postmen::Common
Defined in:
lib/postmen/custom/aes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Postmen::Common

#to_hash

Constructor Details

#initialize(options) ⇒ AES

Returns a new instance of AES.



9
10
11
12
# File 'lib/postmen/custom/aes.rb', line 9

def initialize(options)
  @type = options[:type]
  @itn_number = options[:itn_number]
end

Instance Attribute Details

#itn_numberObject (readonly)

Returns the value of attribute itn_number.



6
7
8
# File 'lib/postmen/custom/aes.rb', line 6

def itn_number
  @itn_number
end

#typeObject (readonly)

Returns the value of attribute type.



6
7
8
# File 'lib/postmen/custom/aes.rb', line 6

def type
  @type
end