Class: NewSub

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

Overview

Written by Ícaro Augusto Website: icaroaugusto.com Github: github.com/IcaroAugusto

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



7
8
9
# File 'lib/reddit_auto.rb', line 7

def content
  @content
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



7
8
9
# File 'lib/reddit_auto.rb', line 7

def description
  @description
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



7
8
9
# File 'lib/reddit_auto.rb', line 7

def name
  @name
end

Returns the value of attribute sidebar

Returns:

  • (Object)

    the current value of sidebar



7
8
9
# File 'lib/reddit_auto.rb', line 7

def sidebar
  @sidebar
end

#subtextObject

Returns the value of attribute subtext

Returns:

  • (Object)

    the current value of subtext



7
8
9
# File 'lib/reddit_auto.rb', line 7

def subtext
  @subtext
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



7
8
9
# File 'lib/reddit_auto.rb', line 7

def title
  @title
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



7
8
9
# File 'lib/reddit_auto.rb', line 7

def type
  @type
end