Class: Opencdd::Parcel::ScrapeVerifier::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/opencdd/parcel/scrape_verifier.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#data_row_countObject

Returns the value of attribute data_row_count

Returns:

  • (Object)

    the current value of data_row_count



21
22
23
# File 'lib/opencdd/parcel/scrape_verifier.rb', line 21

def data_row_count
  @data_row_count
end

#entity_typeObject

Returns the value of attribute entity_type

Returns:

  • (Object)

    the current value of entity_type



21
22
23
# File 'lib/opencdd/parcel/scrape_verifier.rb', line 21

def entity_type
  @entity_type
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



21
22
23
# File 'lib/opencdd/parcel/scrape_verifier.rb', line 21

def path
  @path
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



21
22
23
# File 'lib/opencdd/parcel/scrape_verifier.rb', line 21

def status
  @status
end

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


24
# File 'lib/opencdd/parcel/scrape_verifier.rb', line 24

def empty? = status == :empty

#ok?Boolean

Returns:

  • (Boolean)


23
# File 'lib/opencdd/parcel/scrape_verifier.rb', line 23

def ok?    = status == :ok