Module: BuzzFeed
- Defined in:
- lib/buzz_feed.rb,
lib/buzz_feed/client.rb,
lib/buzz_feed/version.rb
Defined Under Namespace
Class Method Summary collapse
-
.config ⇒ Object
Return the config yml.
Class Method Details
.config ⇒ Object
Return the config yml
7 8 9 |
# File 'lib/buzz_feed.rb', line 7 def self.config @config ||= YAML.load_file(File.join(Rails.root, 'config', 'buzz_feed.yml'))[Rails.env] end |