Class: DoverToCalais::ResponseItem

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

Overview

The ResponseItem structure holds all potential text and attribute values of an OpenCalais XML Simple format element.

Instance Attribute Summary collapse

Instance Attribute Details

#countObject

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



27
28
29
# File 'lib/dover_to_calais.rb', line 27

def count
  @count
end

#importanceObject

Returns the value of attribute importance

Returns:

  • (Object)

    the current value of importance



27
28
29
# File 'lib/dover_to_calais.rb', line 27

def importance
  @importance
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



27
28
29
# File 'lib/dover_to_calais.rb', line 27

def name
  @name
end

#normalizedObject

Returns the value of attribute normalized

Returns:

  • (Object)

    the current value of normalized



27
28
29
# File 'lib/dover_to_calais.rb', line 27

def normalized
  @normalized
end

#originalValueObject

Returns the value of attribute originalValue

Returns:

  • (Object)

    the current value of originalValue



27
28
29
# File 'lib/dover_to_calais.rb', line 27

def originalValue
  @originalValue
end

#relevanceObject

Returns the value of attribute relevance

Returns:

  • (Object)

    the current value of relevance



27
28
29
# File 'lib/dover_to_calais.rb', line 27

def relevance
  @relevance
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



27
28
29
# File 'lib/dover_to_calais.rb', line 27

def value
  @value
end