Sha256: a6b2f699df28e8cf1e8c2d2914634acb2e4a2f1e54ffcfc9c5055c6755079c7c

Contents?: true

Size: 568 Bytes

Versions: 8

Compression:

Stored size: 568 Bytes

Contents

module RightScale
  module Api
    module Internal
      def connection
        @@little_brother_connection ||= RestConnection::Connection.new
        @@little_brother_connection.settings[:common_headers] = { 'X-API-VERSION' => '0.1' }
        @@little_brother_connection
      end
    end

    module InternalExtend
      def connection
        @@little_brother_connection ||= RestConnection::Connection.new
        @@little_brother_connection.settings[:common_headers] = { 'X-API-VERSION' => '0.1' }
        @@little_brother_connection
      end
    end
  end
end
 

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rest_connection-0.0.13 lib/rest_connection/rightscale/rightscale_api_internal.rb
rest_connection-0.0.12 lib/rest_connection/rightscale/rightscale_api_internal.rb
rest_connection-0.0.11 lib/rest_connection/rightscale/rightscale_api_internal.rb
rest_connection-0.0.10 lib/rest_connection/rightscale/rightscale_api_internal.rb
rest_connection-0.0.9 lib/rest_connection/rightscale/rightscale_api_internal.rb
rest_connection-0.0.8 lib/rest_connection/rightscale/rightscale_api_internal.rb
rest_connection-0.0.7 lib/rest_connection/rightscale/rightscale_api_internal.rb
rest_connection-0.0.6 lib/rest_connection/rightscale/rightscale_api_internal.rb