<commit_before>module Aviator

  define_request :list_volume_types do

    meta :provider,           :openstack
    meta :service,            :volume
    meta :api_version,        :v1
    meta :endpoint_type,      :public

    link 'documentation', 'http://docs.rackspace.com/cbs/api/v1.0/cbs-devguide/content/GET_getVolumeTypes_v1__tenant_id__types_v1__tenant_id__types.html'

    param :extra_specs,         required: false
    param :name,                required: false

    def headers
      {}.tap do |h|
        h['X-Auth-Token'] = session_data[:access][:token][:id] unless self.anonymous?
      end
    end

    def http_method
      :get
    end

    def url
      service_spec = session_data[:access][:serviceCatalog].find{|s| s[:type] == service.to_s }
      "#{ service_spec[:endpoints][0][:publicURL] }/types"
    end

  end

end<commit_msg>Removes extra space for list_volume_types.rb.<commit_after>module Aviator

  define_request :list_volume_types do

    meta :provider,           :openstack
    meta :service,            :volume
    meta :api_version,        :v1
    meta :endpoint_type,      :public

    link 'documentation', 'http://docs.rackspace.com/cbs/api/v1.0/cbs-devguide/content/GET_getVolumeTypes_v1__tenant_id__types_v1__tenant_id__types.html'

    param :extra_specs, required: false
    param :name,        required: false

    def headers
      {}.tap do |h|
        h['X-Auth-Token'] = session_data[:access][:token][:id] unless self.anonymous?
      end
    end

    def http_method
      :get
    end

    def url
      service_spec = session_data[:access][:serviceCatalog].find{|s| s[:type] == service.to_s }
      "#{ service_spec[:endpoints][0][:publicURL] }/types"
    end

  end

end
{'fraction_non_alphanumeric': 0.1136890951276102, 'fraction_numerical': 0.0069605568445475635, 'mean_word_length': 2.7096774193548385, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3869778', 'n_tokens_mistral': 588, 'n_tokens_neox': 568, 'n_words': 111}