Sha256: 8548d702c9051560aea1726c0be2efb6780131c26cba1e10290298b8683bac06

Contents?: true

Size: 271 Bytes

Versions: 24

Compression:

Stored size: 271 Bytes

Contents

module Sufia
  module Arkivo
    def self.config
      @config ||= YAML.load(ERB.new(IO.read(File.join(Rails.root, 'config', 'arkivo.yml'))).result).with_indifferent_access[Rails.env]
    end

    def self.new_subscription_url
      '/api/subscription'
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
sufia-7.4.1 lib/sufia/arkivo/config.rb
sufia-7.4.0 lib/sufia/arkivo/config.rb
sufia-7.3.1 lib/sufia/arkivo/config.rb
sufia-7.3.0 lib/sufia/arkivo/config.rb
sufia-7.3.0.rc3 lib/sufia/arkivo/config.rb
sufia-7.3.0.rc2 lib/sufia/arkivo/config.rb
sufia-7.3.0.rc1 lib/sufia/arkivo/config.rb
sufia-7.2.0 lib/sufia/arkivo/config.rb
sufia-6.7.0 lib/sufia/arkivo/config.rb
sufia-7.1.0 lib/sufia/arkivo/config.rb
sufia-7.0.0 lib/sufia/arkivo/config.rb
sufia-7.0.0.rc2 lib/sufia/arkivo/config.rb
sufia-7.0.0.rc1 lib/sufia/arkivo/config.rb
sufia-7.0.0.beta4 lib/sufia/arkivo/config.rb
sufia-7.0.0.beta3 lib/sufia/arkivo/config.rb
sufia-7.0.0.beta2 lib/sufia/arkivo/config.rb
sufia-7.0.0.beta1 lib/sufia/arkivo/config.rb
sufia-6.6.1 lib/sufia/arkivo/config.rb
sufia-6.6.0 lib/sufia/arkivo/config.rb
sufia-6.5.0 lib/sufia/arkivo/config.rb