Sha256: 46f96378790b973b24a566b975e0f6412956f578d0a606e1434150385deb6f03

Contents?: true

Size: 285 Bytes

Versions: 37

Compression:

Stored size: 285 Bytes

Contents

module Fog
  module Provider

    def service_path(new_path)
      @service_path = new_path
    end

    def service(new_service)
      services << new_service
      require File.join(@service_path, new_service.to_s)
    end

    def services
      @services ||= []
    end

  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
fog-0.4.0 lib/fog/core/provider.rb
fog-0.3.34 lib/fog/core/provider.rb
fog-0.3.33 lib/fog/core/provider.rb
fog-0.3.32 lib/fog/core/provider.rb
fog-0.3.31 lib/fog/core/provider.rb
fog-0.3.30 lib/fog/core/provider.rb
fog-0.3.29 lib/fog/core/provider.rb
fog-0.3.28 lib/fog/core/provider.rb
fog-0.3.27 lib/fog/core/provider.rb
fog-0.3.26 lib/fog/core/provider.rb
fog-0.3.25 lib/fog/core/provider.rb
fog-0.3.24 lib/fog/core/provider.rb
bbcloud-0.8.1 lib/bbcloud/vendor/fog-0.3.23/lib/fog/core/provider.rb
fog-0.3.23 lib/fog/core/provider.rb
fog-0.3.22 lib/fog/core/provider.rb
fog-0.3.21 lib/fog/core/provider.rb
fog-0.3.20 lib/fog/core/provider.rb
fog-0.3.19 lib/fog/core/provider.rb
fog-0.3.18 lib/fog/core/provider.rb
fog-0.3.17 lib/fog/core/provider.rb