Class: FarooResult

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

Instance Attribute Summary collapse

Instance Attribute Details

#abstractObject

Returns the value of attribute abstract

Returns:

  • (Object)

    the current value of abstract



8
9
10
# File 'lib/faroo.rb', line 8

def abstract
  @abstract
end

#authorObject

Returns the value of attribute author

Returns:

  • (Object)

    the current value of author



8
9
10
# File 'lib/faroo.rb', line 8

def author
  @author
end

#dateObject

Returns the value of attribute date

Returns:

  • (Object)

    the current value of date



8
9
10
# File 'lib/faroo.rb', line 8

def date
  @date
end

#domainObject

Returns the value of attribute domain

Returns:

  • (Object)

    the current value of domain



8
9
10
# File 'lib/faroo.rb', line 8

def domain
  @domain
end

#image_urlObject

Returns the value of attribute image_url

Returns:

  • (Object)

    the current value of image_url



8
9
10
# File 'lib/faroo.rb', line 8

def image_url
  @image_url
end

#newsObject

Returns the value of attribute news

Returns:

  • (Object)

    the current value of news



8
9
10
# File 'lib/faroo.rb', line 8

def news
  @news
end

Returns the value of attribute related

Returns:

  • (Object)

    the current value of related



8
9
10
# File 'lib/faroo.rb', line 8

def related
  @related
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



8
9
10
# File 'lib/faroo.rb', line 8

def title
  @title
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



8
9
10
# File 'lib/faroo.rb', line 8

def url
  @url
end

#votesObject

Returns the value of attribute votes

Returns:

  • (Object)

    the current value of votes



8
9
10
# File 'lib/faroo.rb', line 8

def votes
  @votes
end