Sha256: eafe48facbc779ca8d26a1417f2971485eef56ebe40d4a070e54af6df7449292

Contents?: true

Size: 477 Bytes

Versions: 10

Compression:

Stored size: 477 Bytes

Contents

class Posgra::DSL
  def self.convert_roles(exported, options = {})
    Posgra::DSL::Converter.convert_roles(exported, options)
  end

  def self.convert_grants(exported, options = {})
    Posgra::DSL::Converter.convert_grants(exported, options)
  end

  def self.parse_roles(dsl, path, options = {})
    Posgra::DSL::Roles.eval(dsl, path, options).result
  end

  def self.parse_grants(dsl, path, options = {})
    Posgra::DSL::Grants.eval(dsl, path, options).result
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
posgra-0.1.9 lib/posgra/dsl.rb
posgra-0.1.8 lib/posgra/dsl.rb
posgra-0.1.7 lib/posgra/dsl.rb
posgra-0.1.6 lib/posgra/dsl.rb
posgra-0.1.5 lib/posgra/dsl.rb
posgra-0.1.4 lib/posgra/dsl.rb
posgra-0.1.3 lib/posgra/dsl.rb
posgra-0.1.2 lib/posgra/dsl.rb
posgra-0.1.1 lib/posgra/dsl.rb
posgra-0.1.0 lib/posgra/dsl.rb