module EchoNest
Public Class Methods
config()
click to toggle source
# File lib/another_echonest_ruby_api.rb, line 18 def self.config if @config @config else raise ConfigException, ConfigException::EXCEPTION_TEXT end end
setup() { |config| ... }
click to toggle source
# File lib/another_echonest_ruby_api.rb, line 26 def self.setup(&block) @config = Config.new yield @config end