Sha256: 0271d387353ffca2438892476c9f5e82f938b6aa0a91c7ce3de2be14dad81024

Contents?: true

Size: 287 Bytes

Versions: 16

Compression:

Stored size: 287 Bytes

Contents

module Fog
  module Provider

    def self.extended(base)
      Fog.providers << base.to_s.split('::').last
    end

    def service(new_service, path)
      services << new_service
      require File.join('fog', path)
    end

    def services
      @services ||= []
    end

  end
end

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
fog-0.10.0 lib/fog/core/provider.rb
fog4encbs-0.9.0.1 lib/fog/core/provider.rb
fog4encbs-0.9.0 lib/fog/core/provider.rb
fog-0.9.0 lib/fog/core/provider.rb
fog-0.8.2 lib/fog/core/provider.rb
fog-0.8.1 lib/fog/core/provider.rb
fog-0.8.0 lib/fog/core/provider.rb
fog-0.7.2 lib/fog/core/provider.rb
fog-0.7.1 lib/fog/core/provider.rb
fog-0.7.0 lib/fog/core/provider.rb
bbcloud-0.11.2 lib/bbcloud/vendor/fog/lib/fog/core/provider.rb
bbcloud-0.11.1 lib/bbcloud/vendor/fog/lib/fog/core/provider.rb
bbcloud-0.11.0 lib/bbcloud/vendor/fog/lib/fog/core/provider.rb
fog-0.6.0 lib/fog/core/provider.rb
fog-0.5.3 lib/fog/core/provider.rb
fog-0.5.2 lib/fog/core/provider.rb