lib/intercom/hashable_object.rb in intercom-0.1.10 vs lib/intercom/hashable_object.rb in intercom-0.1.11

- old
+ new

@@ -10,13 +10,13 @@ hash end end def displayable_attributes - to_hash.select {|attribute, value| self.respond_to?(attribute) } + Hash[ to_hash.select {|attribute, value| self.respond_to?(attribute) } ] end def to_wire - to_hash.select {|attribute, value| self.respond_to?("#{attribute.to_s}=") } + Hash[ to_hash.select {|attribute, value| self.respond_to?("#{attribute.to_s}=") } ] end end end \ No newline at end of file