module Fog
  module OpenStack
    class Identity
      class V3
        class Real
          def grant_domain_group_role(id, group_id, role_id)
            request(
              :expects => [204],
              :method  => 'PUT',
              :path    => "domains/#{id}/groups/#{group_id}/roles/#{role_id}"
            )
          end
        end

        class Mock
        end
      end
    end
  end
end
