Class: KhipuRails::Receiver

Inherits:
Struct
  • Object
show all
Defined in:
lib/khipu_rails/receiver.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



4
5
6
# File 'lib/khipu_rails/receiver.rb', line 4

def id
  @id
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



4
5
6
# File 'lib/khipu_rails/receiver.rb', line 4

def key
  @key
end

#modeObject

Returns the value of attribute mode

Returns:

  • (Object)

    the current value of mode



4
5
6
# File 'lib/khipu_rails/receiver.rb', line 4

def mode
  @mode
end

Instance Method Details

#pkeyObject



5
6
7
# File 'lib/khipu_rails/receiver.rb', line 5

def pkey
  @pkey ||= load_key
end