lib/echonest.rb in ruby-echonest-0.2.0 vs lib/echonest.rb in ruby-echonest-0.3.0

- old
+ new

@@ -10,10 +10,10 @@ require 'echonest/element/loudness' require 'echonest/element/tatum' require 'pathname' -def Echonest(api_key) Echonest::Api.new(api_key) end +def Echonest(api_key = nil) Echonest::Api.new(api_key) end module Echonest DIRECTORY = Pathname.new("~/.echonest").expand_path end