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



17
18
19
# File 'lib/dover_to_calais.rb', line 17

def count
  @count
end

#importanceObject

Returns the value of attribute importance

Returns:

  • (Object)

    the current value of importance



17
18
19
# File 'lib/dover_to_calais.rb', line 17

def importance
  @importance
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



17
18
19
# File 'lib/dover_to_calais.rb', line 17

def name
  @name
end

#normalizedObject

Returns the value of attribute normalized

Returns:

  • (Object)

    the current value of normalized



17
18
19
# File 'lib/dover_to_calais.rb', line 17

def normalized
  @normalized
end

#originalValueObject

Returns the value of attribute originalValue

Returns:

  • (Object)

    the current value of originalValue



17
18
19
# File 'lib/dover_to_calais.rb', line 17

def originalValue
  @originalValue
end

#relevanceObject

Returns the value of attribute relevance

Returns:

  • (Object)

    the current value of relevance



17
18
19
# File 'lib/dover_to_calais.rb', line 17

def relevance
  @relevance
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



17
18
19
# File 'lib/dover_to_calais.rb', line 17

def value
  @value
end