Sha256: 7ee96b92ea6c39e5828f05247689e9a2a834a9e75861043258e66e640b851147

Contents?: true

Size: 551 Bytes

Versions: 2

Compression:

Stored size: 551 Bytes

Contents

# frozen_string_literal: true

require 'faraday_middleware'

require 'tubemogul_api/error'
require 'tubemogul_api/faraday/raise_http_error'

require 'tubemogul_api/connection'
require 'tubemogul_api/service'
require 'tubemogul_api/version'

module TubemogulApi
  AUTOLOAD_PATHS = [
    Dir[File.dirname(__dir__) + '/lib/tubemogul_api/resource/*.rb'],
    Dir[File.dirname(__dir__) + '/lib/tubemogul_api/service/*.rb']
  ].flatten.freeze

  def self.root
    Pathname.new(File.dirname(__dir__))
  end

  AUTOLOAD_PATHS.each { |file| require file }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tubemogul_api-0.2.0 lib/tubemogul_api.rb
tubemogul_api-0.1.0 lib/tubemogul_api.rb