Class: Misty::Openstack::Swift::V1

Inherits:
HTTP::Client show all
Extended by:
Misty::Openstack::SwiftV1
Defined in:
lib/misty/openstack/swift/v1.rb

Constant Summary

Constants inherited from HTTP::Client

HTTP::Client::INTERFACES

Instance Attribute Summary

Attributes inherited from HTTP::Client

#microversion

Class Method Summary collapse

Methods included from Misty::Openstack::SwiftV1

v1

Methods inherited from HTTP::Client

#headers, #initialize, #requests

Methods included from HTTP::Direct

#base_set, #delete, #get, #post, #put

Methods included from HTTP::Request

#decode?, #http, #http_copy, #http_delete, #http_get, #http_head, #http_options, #http_patch, #http_post, #http_put, #http_to_s

Methods included from HTTP::MethodBuilder

#method_missing

Methods included from HTTP::NetHTTP

http_request

Constructor Details

This class inherits a constructor from Misty::HTTP::Client

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Misty::HTTP::MethodBuilder

Class Method Details

.apiObject



10
11
12
# File 'lib/misty/openstack/swift/v1.rb', line 10

def self.api
  v1
end

.prefix_path_to_ignoreObject



14
15
16
# File 'lib/misty/openstack/swift/v1.rb', line 14

def self.prefix_path_to_ignore
  '/v1/{account}'
end

.service_namesObject



18
19
20
# File 'lib/misty/openstack/swift/v1.rb', line 18

def self.service_names
  %w{object-storage object-store}
end