Method: OrientdbClient::Client#create_class

Defined in:
lib/orientdb_client.rb

#create_class(name, options = {}) ⇒ Object



73
74
75
76
77
78
79
# File 'lib/orientdb_client.rb', line 73

def create_class(name, options = {})
  response = @node.create_class(name, options)
  if block_given?
    yield ClassConfigurator.new(name, @node)
  end
  response
end