Class: Ayadn::UserAnnotationObject
Instance Attribute Summary collapse
-
#input ⇒ Object
readonly
Returns the value of attribute input.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(hash) ⇒ UserAnnotationObject
constructor
A new instance of UserAnnotationObject.
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
#input ⇒ Object (readonly)
Returns the value of attribute input.
34 35 36 |
# File 'lib/ayadn/user_object.rb', line 34 def input @input end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
34 35 36 |
# File 'lib/ayadn/user_object.rb', line 34 def type @type end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
34 35 36 |
# File 'lib/ayadn/user_object.rb', line 34 def value @value end |