Sha256: 8fd23b53a91b257c07b2d17d1805e48e0ca9fd666c1e0044855809e052316ded

Contents?: true

Size: 300 Bytes

Versions: 25

Compression:

Stored size: 300 Bytes

Contents

# frozen_string_literal: true
module Hyrax
  module Arkivo
    def self.config
      @config ||= YAML.safe_load(ERB.new(IO.read(Rails.root.join('config', 'arkivo.yml'))).result).with_indifferent_access[Rails.env]
    end

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

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
hyrax-5.0.1 lib/hyrax/arkivo/config.rb
hyrax-5.0.0 lib/hyrax/arkivo/config.rb
hyrax-5.0.0.rc3 lib/hyrax/arkivo/config.rb
hyrax-5.0.0.rc2 lib/hyrax/arkivo/config.rb
hyrax-5.0.0.rc1 lib/hyrax/arkivo/config.rb
hyrax-3.6.0 lib/hyrax/arkivo/config.rb
hyrax-4.0.0 lib/hyrax/arkivo/config.rb
hyrax-4.0.0.rc3 lib/hyrax/arkivo/config.rb
hyrax-4.0.0.rc2 lib/hyrax/arkivo/config.rb
hyrax-4.0.0.rc1 lib/hyrax/arkivo/config.rb
hyrax-3.5.0 lib/hyrax/arkivo/config.rb
hyrax-4.0.0.beta2 lib/hyrax/arkivo/config.rb
hyrax-3.4.2 lib/hyrax/arkivo/config.rb
hyrax-4.0.0.beta1 lib/hyrax/arkivo/config.rb
hyrax-3.4.1 lib/hyrax/arkivo/config.rb
hyrax-3.4.0 lib/hyrax/arkivo/config.rb
hyrax-3.3.0 lib/hyrax/arkivo/config.rb
hyrax-3.2.0 lib/hyrax/arkivo/config.rb
hyrax-3.1.0 lib/hyrax/arkivo/config.rb
hyrax-3.0.2 lib/hyrax/arkivo/config.rb