Class: EgovUtils::Address::District

Inherits:
Struct
  • Object
show all
Defined in:
app/models/egov_utils/address.rb

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



18
19
20
# File 'app/models/egov_utils/address.rb', line 18

def id
  @id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



18
19
20
# File 'app/models/egov_utils/address.rb', line 18

def name
  @name
end

#region_idObject

Returns the value of attribute region_id

Returns:

  • (Object)

    the current value of region_id



18
19
20
# File 'app/models/egov_utils/address.rb', line 18

def region_id
  @region_id
end