Module: ItunesSearch

Defined in:
lib/itunes-search/base.rb,
lib/itunes-search/search.rb

Defined Under Namespace

Classes: Base, Search

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.endpointObject



5
6
7
# File 'lib/itunes-search/base.rb', line 5

def self.endpoint
  @endpoint || "http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStoreServices.woa/wa/wsSearch" 
end

.endpoint=(ep) ⇒ Object



2
3
4
# File 'lib/itunes-search/base.rb', line 2

def self.endpoint=(ep)
  @endpoint = ep
end

Instance Method Details

#search(*args) ⇒ Object



8
9
10
# File 'lib/itunes-search/base.rb', line 8

def search(*args)
  ItunesSearch::Search.new(*args)
end