Class: Scrapetor::Schema::Group

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

Instance Attribute Summary collapse

Instance Attribute Details

#fieldsObject

Returns the value of attribute fields

Returns:

  • (Object)

    the current value of fields



9
10
11
# File 'lib/scrapetor/schema.rb', line 9

def fields
  @fields
end

#groupsObject

Returns the value of attribute groups

Returns:

  • (Object)

    the current value of groups



9
10
11
# File 'lib/scrapetor/schema.rb', line 9

def groups
  @groups
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'lib/scrapetor/schema.rb', line 9

def name
  @name
end

#selectorObject

Returns the value of attribute selector

Returns:

  • (Object)

    the current value of selector



9
10
11
# File 'lib/scrapetor/schema.rb', line 9

def selector
  @selector
end