lib/vedeu/repository/interface.rb in vedeu-0.0.12 vs lib/vedeu/repository/interface.rb in vedeu-0.0.13
- old
+ new
@@ -1,8 +1,8 @@
module Vedeu
class Interface
- attr_accessor :id, :attributes, :active, :geometry, :name, :result
+ attr_accessor :id, :attributes, :active, :geometry, :name
class << self
def create(attributes = {})
new(attributes).create
end
@@ -12,10 +12,9 @@
@attributes = attributes || {}
@active = false
@geometry = attributes[:geometry]
@name = attributes[:name]
- @result = nil
end
def create
InterfaceRepository.create(self)