fog/fog-openstack

View on GitHub
lib/fog/openstack/identity/v3/requests/update_group.rb

Summary

Maintainability
A
15 mins
Test Coverage
module Fog
  module OpenStack
    class Identity
      class V3
        class Real
          def update_group(id, group)
            request(
              :expects => [200],
              :method  => 'PATCH',
              :path    => "groups/#{id}",
              :body    => Fog::JSON.encode(:group => group)
            )
          end
        end

        class Mock
        end
      end
    end
  end
end