# useful tools
require 'digest/md5'
require 'multi_json'

# include expedia modules
require 'expedia/errors'
require 'expedia/api'

# HTTP module so we can communicate with Expedia
require 'expedia/http_service'

# miscellaneous
require 'expedia/utils'
require 'expedia/version'

if defined?(Rails)
  require 'expedia/railtie'
  require 'generators/expedia/initialize_generator'
end

module Expedia

  class << self

    attr_accessor :cid, :api_key, :shared_secret, :format, :locale,
      :currency_code, :minor_rev

    # Default way to setup Expedia. Run rake task to create
    # a fresh initializer with all configuration values.
    def setup
      yield self
    end

    def root_path
      Gem::Specification.find_by_name("expedia").gem_dir
    end

  end

end

# useful tools
require 'digest/md5'
require 'multi_json'

# include expedia modules
require 'expedia/errors'
require 'expedia/api'

# HTTP module so we can communicate with Expedia
require 'expedia/http_service'

# miscellaneous
require 'expedia/utils'
require 'expedia/version'

if defined?(Rails)
  require 'expedia/railtie'
  require 'generators/expedia/initialize_generator'
end

module Expedia

  class << self

    attr_accessor :cid, :api_key, :shared_secret, :format, :locale,
      :currency_code, :minor_rev

    # Default way to setup Expedia. Run generator to create
    # a fresh initializer with all configuration values.
    def setup
      yield self
    end

    def root_path
      Gem::Specification.find_by_name("expedia").gem_dir
    end

  end

end

Change in comments to refelect new behavior
Change in comments to refelect new behavior
