lib/oneaccess/data_object/address.rb in oneaccess-0.1.3 vs lib/oneaccess/data_object/address.rb in oneaccess-0.1.4
- old
+ new
@@ -2,9 +2,13 @@
require_relative "./representer/address"
module ONEAccess
module DataObject
class Address
+ extend Serializable
+
+ represented_by Representer::Address
+
attr_accessor :id
attr_accessor :city
attr_accessor :country
attr_accessor :region
attr_accessor :is_main_address