Class: Ayadn::UserAnnotationObject

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ UserAnnotationObject

Returns a new instance of UserAnnotationObject.



36
37
38
39
40
# File 'lib/ayadn/user_object.rb', line 36

def initialize hash
  @input = hash
  @type = @input["type"]
  @value = @input["value"]
end

Instance Attribute Details

#inputObject (readonly)

Returns the value of attribute input.



34
35
36
# File 'lib/ayadn/user_object.rb', line 34

def input
  @input
end

#typeObject (readonly)

Returns the value of attribute type.



34
35
36
# File 'lib/ayadn/user_object.rb', line 34

def type
  @type
end

#valueObject (readonly)

Returns the value of attribute value.



34
35
36
# File 'lib/ayadn/user_object.rb', line 34

def value
  @value
end