File: workflow.rb

package info (click to toggle)
ruby-fog-openstack 1.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,784 kB
  • sloc: ruby: 47,937; makefile: 5; sh: 4
file content (14 lines) | stat: -rw-r--r-- 467 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module Fog
  module OpenStack
    class Workflow < Fog::Service
      autoload :V2, 'fog/openstack/workflow/v2'

      # Fog::OpenStack::Workflow.new() will return a Fog::OpenStack::Workflow::V2
      #  Will choose the latest available once Mistral V3 is released.
      def self.new(args = {})
        @openstack_auth_uri = URI.parse(args[:openstack_auth_url]) if args[:openstack_auth_url]
        Fog::OpenStack::Workflow::V2.new(args)
      end
    end
  end
end