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

- old
+ new

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