Sha256: d0e4dd03467ae38881d2a826d7ed0d2e17d5698301b244337342f04ba82e57e6

Contents?: true

Size: 889 Bytes

Versions: 1

Compression:

Stored size: 889 Bytes

Contents

$: << File.expand_path(File.dirname(__FILE__))

require 'rubygems'
require 'cgi'
require 'hpricot'
require 'active_support'
require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/string/inflections'
require 'time'
require 'yaml'

require 'rockstar/base'
require 'rockstar/version'

require 'rockstar/album'
require 'rockstar/artist'
require 'rockstar/chart'
require 'rockstar/event'
require 'rockstar/geo'
require 'rockstar/metro'
require 'rockstar/user'
require 'rockstar/tag'
require 'rockstar/track'
require 'rockstar/venue'

require 'rockstar/auth'
require 'rockstar/session'
require 'rockstar/rest'

module Rockstar
  extend self

  def lastfm=(args)
    @api_key    = args["api_key"] || args[:api_key]
    @api_secret = args["api_secret"] || args[:api_secret]
  end

  def lastfm_api_key
    @api_key
  end

  def lastfm_api_secret
    @api_secret
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rockstar-0.6.4 lib/rockstar.rb