Class: CricosScrape::Location

Inherits:
Struct
  • Object
show all
Defined in:
lib/cricos_scrape/entities/location.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#to_json, #to_map

Instance Attribute Details

#location_idObject

Returns the value of attribute location_id

Returns:

  • (Object)

    the current value of location_id



2
3
4
# File 'lib/cricos_scrape/entities/location.rb', line 2

def location_id
  @location_id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/cricos_scrape/entities/location.rb', line 2

def name
  @name
end

#number_of_coursesObject

Returns the value of attribute number_of_courses

Returns:

  • (Object)

    the current value of number_of_courses



2
3
4
# File 'lib/cricos_scrape/entities/location.rb', line 2

def number_of_courses
  @number_of_courses
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



2
3
4
# File 'lib/cricos_scrape/entities/location.rb', line 2

def state
  @state
end