Class: Misty::Openstack::Cinder::V2

Inherits:
Object
  • Object
show all
Includes:
ClientPack, Misty::Openstack::CinderV2
Defined in:
lib/misty/openstack/cinder/v2.rb

Constant Summary

Constants included from Client

Client::INTERFACES

Instance Attribute Summary

Attributes included from Client

#headers, #microversion

Instance Method Summary collapse

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

Methods included from Client

#initialize, #requests

Methods included from Misty::Openstack::CinderV2

#api, #tag

Dynamic Method Handling

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

Instance Method Details

#prefix_path_to_ignoreObject

TODO: path for ‘/v2/admin_project_id’



12
13
14
# File 'lib/misty/openstack/cinder/v2.rb', line 12

def prefix_path_to_ignore
  '/v2/{project_id}'
end

#service_namesObject



16
17
18
# File 'lib/misty/openstack/cinder/v2.rb', line 16

def service_names
  %w{block-storage, block-store, volume}
end