lib/device_map/properties/property.rb in device_map-0.1.0 vs lib/device_map/properties/property.rb in device_map-0.1.1
- old
+ new
@@ -1,7 +1,7 @@
module DeviceMap
module Properties
- class Property < Struct.new(:name, :type_name, :attr_name)
+ class Property < Struct.new(:name, :type_name, :source_name)
TYPE_MAPPING = {
integer: Types::Integer,
boolean: Types::Boolean,
string: Types::String
}