Sha256: ff2e42954c2d316c1b81bf2e0138d294ae518a589f8f572882d5329a2e54cbcc

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

module Spree
  class PowerReviewsConfiguration

    def self.account
      power_reviews_yml=File.join(Rails.root,'config/power_reviews.yml')
      if File.exist? power_reviews_yml
        power_reviews_yml=File.join(Rails.root,'config/power_reviews.yml')
        YAML.load(File.read(power_reviews_yml))
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_power_reviews-3.0.0 app/models/spree/power_reviews_configuration.rb