Class: Ropenstack::OpenstackService

Inherits:
Rest
  • Object
show all
Defined in:
lib/ropenstack/common/openstackservice.rb

Overview

  • Name: OpenstackService

* Description: A parent class for all the openstack service classes, with functions which are generic across all services. * Author: Sam ‘Tehsmash’ Betts * Date: 01/15/2013

Instance Method Summary collapse

Methods inherited from Rest

#build_headers, #build_http, #delete_request, #do_request, #error_manager, #get_request, #post_request, #put_request

Constructor Details

#initialize(location, token) ⇒ OpenstackService

Returns a new instance of OpenstackService.



12
13
14
15
# File 'lib/ropenstack/common/openstackservice.rb', line 12

def initialize(location, token)
  @location = location
  @token = token
end