Module: Zena::Remote::Interface::Create::ConnectionMethods

Included in:
Zena::Remote::Interface::ConnectionMethods
Defined in:
lib/zena/remote/interface.rb

Overview

Used by @connection.create(…)

Instance Method Summary collapse

Instance Method Details

#create(attributes) ⇒ Object



19
20
21
22
23
# File 'lib/zena/remote/interface.rb', line 19

def create(attributes)
  node = Zena::Remote::Node.new(self, attributes)
  node.save
  node
end