Class: ONEAccess::DataObject::Country

Inherits:
Object
  • Object
show all
Defined in:
lib/oneaccess/data_object/representer/global_region.rb,
lib/oneaccess/data_object/country.rb

Overview

declare country to avoid circular dependency rubocop:disable Style/ClassAndModuleChildren

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code.



9
10
11
# File 'lib/oneaccess/data_object/country.rb', line 9

def code
  @code
end

#code3Object

Returns the value of attribute code3.



10
11
12
# File 'lib/oneaccess/data_object/country.rb', line 10

def code3
  @code3
end

#descriptionObject

Returns the value of attribute description.



11
12
13
# File 'lib/oneaccess/data_object/country.rb', line 11

def description
  @description
end

#global_regionObject

Returns the value of attribute global_region.



12
13
14
# File 'lib/oneaccess/data_object/country.rb', line 12

def global_region
  @global_region
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/oneaccess/data_object/country.rb', line 7

def id
  @id
end

#nameObject

Returns the value of attribute name.



8
9
10
# File 'lib/oneaccess/data_object/country.rb', line 8

def name
  @name
end

#regionsObject

Returns the value of attribute regions.



13
14
15
# File 'lib/oneaccess/data_object/country.rb', line 13

def regions
  @regions
end