module BranchableCDNAssets::Config::EnvironmentAttributeReader

Public Instance Methods

env_attr(key) click to toggle source
# File lib/branchable_cdn_assets/config/environment_attribute_reader.rb, line 6
def env_attr key
  environments.fetch(env.to_sym, {})
              .fetch(key, nil)
end