Sha256: 987e14aa8a12809c7195be273057b82acaf939a4f18b9e46976ba0b1bf4c833f
Contents?: true
Size: 543 Bytes
Versions: 4
Compression:
Stored size: 543 Bytes
Contents
require File.expand_path('../request', __FILE__) module ITunes class Client # @private attr_accessor *Configuration::VALID_OPTIONS_KEYS # Creates a new Client def initialize(options={}) options = ITunes.options.merge(options) Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", options[key]) end end Dir[File.expand_path('../client/*.rb', __FILE__)].each{|f| require f} alias :api_endpoint :endpoint include Request include Search include Lookup end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
itunes-0.7.0 | lib/itunes/client.rb |
itunes-0.6.0 | lib/itunes/client.rb |
itunes-0.5.5 | lib/itunes/client.rb |
itunes-0.5.4 | lib/itunes/client.rb |