Sha256: e5b3bd6569b188563d6fd74f1dc822dac02c12f9fe76803b5a2a2f543df0e9ef

Contents?: true

Size: 802 Bytes

Versions: 10

Compression:

Stored size: 802 Bytes

Contents

module RightScale
  module Api
    module Internal
      def connection
        @@little_brother_connection ||= RestConnection::Connection.new
        settings = @@little_brother_connection.settings
        settings[:common_headers]["X_API_VERSION"] = "0.1"         
        settings[:api_href] = settings[:api_url]
        settings[:extension] = ".js"
        @@little_brother_connection
      end
    end

    module InternalExtend
      def connection
        @@little_brother_connection ||= RestConnection::Connection.new
        settings = @@little_brother_connection.settings
        settings[:common_headers]["X_API_VERSION"] = "0.1"         
        settings[:api_href] = settings[:api_url]
        settings[:extension] = ".js"
        @@little_brother_connection
      end
    end
  end
end
 

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rest_connection-0.0.23 lib/rest_connection/rightscale/rightscale_api_internal.rb
rest_connection-0.0.22 lib/rest_connection/rightscale/rightscale_api_internal.rb
rest_connection-0.0.21 lib/rest_connection/rightscale/rightscale_api_internal.rb
rest_connection-0.0.20 lib/rest_connection/rightscale/rightscale_api_internal.rb
rest_connection-0.0.19 lib/rest_connection/rightscale/rightscale_api_internal.rb
rest_connection-0.0.18 lib/rest_connection/rightscale/rightscale_api_internal.rb
rest_connection-0.0.17 lib/rest_connection/rightscale/rightscale_api_internal.rb
rest_connection-0.0.16 lib/rest_connection/rightscale/rightscale_api_internal.rb
rest_connection-0.0.15 lib/rest_connection/rightscale/rightscale_api_internal.rb
rest_connection-0.0.14 lib/rest_connection/rightscale/rightscale_api_internal.rb