lib/rets4r/client/metadata.rb in rets4r-0.8.5 vs lib/rets4r/client/metadata.rb in rets4r-1.1.18

- old
+ new

@@ -1,15 +1,15 @@ require 'rets4r/client/data' module RETS4R - class Client - # Represents a set of metadata. It is simply an extended Array with type and attributes accessors. - class Metadata < Array - attr_accessor :type, :attributes - - def initialize(type = false) - self.type = type if type - self.attributes = {} - end - end - end -end \ No newline at end of file + class Client + # Represents a set of metadata. It is simply an extended Array with type and attributes accessors. + class Metadata < Array + attr_accessor :type, :attributes + + def initialize(type = false) + self.type = type if type + self.attributes = {} + end + end + end +end