Class: Sanjose::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Result

Returns a new instance of Result.



5
6
7
8
9
# File 'lib/sanjose/result.rb', line 5

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

Instance Attribute Details

#canonical_reg_idObject (readonly)

Returns the value of attribute canonical_reg_id.



3
4
5
# File 'lib/sanjose/result.rb', line 3

def canonical_reg_id
  @canonical_reg_id
end

#errorObject (readonly)

Returns the value of attribute error.



3
4
5
# File 'lib/sanjose/result.rb', line 3

def error
  @error
end

#message_idObject (readonly)

Returns the value of attribute message_id.



3
4
5
# File 'lib/sanjose/result.rb', line 3

def message_id
  @message_id
end