Sha256: 5d5cd3f0514d7e4c502ea8655717998494f3579c863d03aad97ca43f34da37ae

Contents?: true

Size: 1.46 KB

Versions: 3

Compression:

Stored size: 1.46 KB

Contents

# frozen_string_literal: true

require 'date'

require 'apple_music/connection'
require 'apple_music/version'

module AppleMusic # :nodoc:
  autoload :Activity,       'apple_music/activity'
  autoload :Album,          'apple_music/album'
  autoload :AppleCurator,   'apple_music/apple_curator'
  autoload :Artist,         'apple_music/artist'
  autoload :Artwork,        'apple_music/artwork'
  autoload :Chart,          'apple_music/chart'
  autoload :ChartResponse,  'apple_music/chart_response'
  autoload :Curator,        'apple_music/curator'
  autoload :EditorialNotes, 'apple_music/editorial_notes'
  autoload :Error,          'apple_music/error'
  autoload :Genre,          'apple_music/genre'
  autoload :MusicVideo,     'apple_music/music_video'
  autoload :PlayParameters, 'apple_music/play_parameters'
  autoload :Playlist,       'apple_music/playlist'
  autoload :Preview,        'apple_music/preview'
  autoload :Relationship,   'apple_music/relationship'
  autoload :Resource,       'apple_music/resource'
  autoload :Response,       'apple_music/response'
  autoload :Search,         'apple_music/search'
  autoload :SearchResult,   'apple_music/search_result'
  autoload :Song,           'apple_music/song'
  autoload :Station,        'apple_music/station'
  autoload :Storefront,     'apple_music/storefront'

  class << self
    def search(**options)
      Search.search(**options)
    end

    def search_hint(**options)
      Search.search_hint(**options)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
apple_music-0.3.1 lib/apple_music.rb
apple_music-0.3.0 lib/apple_music.rb
apple_music-0.2.0 lib/apple_music.rb