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-6.4.0 lib/sufia/arkivo/config.rb
sufia-6.3.0 lib/sufia/arkivo/config.rb
sufia-6.2.0 lib/sufia/arkivo/config.rb
sufia-6.1.0 lib/sufia/arkivo/config.rb