Module: NBS

Defined in:
lib/next-big-sound-lite.rb

Overview

for version 2.0 of the NBS API

Defined Under Namespace

Classes: Artist, Genre, Metric, Profile, Service, Track, Youtube

Class Method Summary collapse

Class Method Details

.api_key=(key) ⇒ Object



7
8
9
# File 'lib/next-big-sound-lite.rb', line 7

def self.api_key=(key)
  @base = RestClient::Resource.new("http://#{key}.api2.nextbigsound.com")
end

.baseObject



11
12
13
# File 'lib/next-big-sound-lite.rb', line 11

def self.base
  @base
end