Class: QuickBase::Objects::FieldValue

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

Overview

Name and value of a field in a Record return by a Query.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name.



447
448
449
# File 'lib/QuickBaseObjects.rb', line 447

def name
  @name
end

#valueObject (readonly)

Returns the value of attribute value.



447
448
449
# File 'lib/QuickBaseObjects.rb', line 447

def value
  @value
end