module MusicGraph

Constants

VERSION

Public Class Methods

api_key() click to toggle source
# File lib/musicgraph.rb, line 21
def self.api_key
  @api_key
end
api_key=(key) click to toggle source
# File lib/musicgraph.rb, line 17
def self.api_key=(key)
  @api_key = key
end

Protected Class Methods

key_param() click to toggle source
# File lib/musicgraph.rb, line 26
def self.key_param
  begin
    "api_key=" + MusicGraph.api_key
  rescue
    raise "No MusicGraph API key present (MusicGraph.api_key='xyz')"
  end
end