Class: Factbook::PageInfo
- Inherits:
-
Struct
- Object
- Struct
- Factbook::PageInfo
- Defined in:
- lib/factbook-readers/page_info.rb
Overview
was before 2021 (when using html page scrapping) PageInfo = Struct.new( :country_code,
:country_name,
:country_affiliation,
:region_code,
:region_name,
:last_updated )
Instance Attribute Summary collapse
-
#country_code ⇒ Object
Returns the value of attribute country_code.
-
#country_name ⇒ Object
Returns the value of attribute country_name.
-
#published ⇒ Object
Returns the value of attribute published.
-
#region_name ⇒ Object
Returns the value of attribute region_name.
-
#updated ⇒ Object
Returns the value of attribute updated.
Instance Attribute Details
#country_code ⇒ Object
Returns the value of attribute country_code
16 17 18 |
# File 'lib/factbook-readers/page_info.rb', line 16 def country_code @country_code end |
#country_name ⇒ Object
Returns the value of attribute country_name
16 17 18 |
# File 'lib/factbook-readers/page_info.rb', line 16 def country_name @country_name end |
#published ⇒ Object
Returns the value of attribute published
16 17 18 |
# File 'lib/factbook-readers/page_info.rb', line 16 def published @published end |
#region_name ⇒ Object
Returns the value of attribute region_name
16 17 18 |
# File 'lib/factbook-readers/page_info.rb', line 16 def region_name @region_name end |
#updated ⇒ Object
Returns the value of attribute updated
16 17 18 |
# File 'lib/factbook-readers/page_info.rb', line 16 def updated @updated end |