Class: QuickBase::Objects::FieldValue
- Inherits:
-
Object
- Object
- QuickBase::Objects::FieldValue
- Defined in:
- lib/QuickBaseObjects.rb
Overview
Name and value of a field in a Record return by a Query.
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(k, v) ⇒ FieldValue
constructor
A new instance of FieldValue.
Constructor Details
#initialize(k, v) ⇒ FieldValue
Returns a new instance of FieldValue.
448 449 450 451 |
# File 'lib/QuickBaseObjects.rb', line 448 def initialize(k,v) @name = k.dup @value = v.dup end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
447 448 449 |
# File 'lib/QuickBaseObjects.rb', line 447 def name @name end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
447 448 449 |
# File 'lib/QuickBaseObjects.rb', line 447 def value @value end |