Module: DataMapper::Reflection::PersevereAdapter

Extended by:
Chainable
Defined in:
lib/dm-reflection/adapters/persevere.rb

Instance Method Summary collapse

Instance Method Details

#get_storage_namesString Array

Get the list of schema names

Returns:

  • (String Array)

    the names of the schemas in the server.



52
53
54
55
# File 'lib/dm-reflection/adapters/persevere.rb', line 52

def get_storage_names
  @schemas = self.get_schema
  @schemas.map { |schema| schema['id'] }
end

#separatorObject



43
44
45
# File 'lib/dm-reflection/adapters/persevere.rb', line 43

def separator
  '/'
end