Class: TokBoxer::VMail

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ VMail

Returns a new instance of VMail.



7
8
9
10
# File 'lib/TokBoxer/VMail.rb', line 7

def initialize(options={})
  @id = options[:id]
  @message_id = options[:message_id]
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



5
6
7
# File 'lib/TokBoxer/VMail.rb', line 5

def id
  @id
end

#message_idObject (readonly)

Returns the value of attribute message_id.



5
6
7
# File 'lib/TokBoxer/VMail.rb', line 5

def message_id
  @message_id
end

Instance Method Details

#to_sObject



12
13
14
# File 'lib/TokBoxer/VMail.rb', line 12

def to_s
  @id
end